Record Class OAuthClient
java.lang.Object
java.lang.Record
dev.relism.flash.ext.security.oauthserver.OAuthClient
- Record Components:
id- either issued at registration, or the https URL of the client's metadata document
A client of the authorization server, described by its RFC 7591 metadata exactly as it was registered
(defaults filled in). A confidential client's secret is kept only as a hash; a public one has none.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnone,client_secret_basicorclient_secret_post.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.metadata()Returns the value of themetadatarecord component.name()What a consent page calls it: itsclient_name, or its id when it gave none.Returns the value of thesecretHashrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OAuthClient
Creates an instance of aOAuthClientrecord class.- Parameters:
id- the value for theidrecord componentsecretHash- the value for thesecretHashrecord componentmetadata- the value for themetadatarecord component
-
-
Method Details
-
authMethod
none,client_secret_basicorclient_secret_post. -
redirectUris
-
grantTypes
-
name
What a consent page calls it: itsclient_name, or its id when it gave none. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
secretHash
Returns the value of thesecretHashrecord component.- Returns:
- the value of the
secretHashrecord component
-
metadata
Returns the value of themetadatarecord component.- Returns:
- the value of the
metadatarecord component
-