Record Class OAuthCimdClientMetadata

java.lang.Object
java.lang.Record
io.meeds.oauth2.server.model.OAuthCimdClientMetadata

public record OAuthCimdClientMetadata(String clientId, String clientName, String clientUri, String logoUri, String policyUri, List<String> redirectUris, List<String> grantTypes, List<String> responseTypes, String scope, String tokenEndpointAuthMethod, String jwksUri) extends Record
  • Constructor Details

    • OAuthCimdClientMetadata

      public OAuthCimdClientMetadata(String clientId, String clientName, String clientUri, String logoUri, String policyUri, List<String> redirectUris, List<String> grantTypes, List<String> responseTypes, String scope, String tokenEndpointAuthMethod, String jwksUri)
      Creates an instance of a OAuthCimdClientMetadata record class.
      Parameters:
      clientId - the value for the clientId record component
      clientName - the value for the clientName record component
      clientUri - the value for the clientUri record component
      logoUri - the value for the logoUri record component
      policyUri - the value for the policyUri record component
      redirectUris - the value for the redirectUris record component
      grantTypes - the value for the grantTypes record component
      responseTypes - the value for the responseTypes record component
      scope - the value for the scope record component
      tokenEndpointAuthMethod - the value for the tokenEndpointAuthMethod record component
      jwksUri - the value for the jwksUri record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • clientId

      public String clientId()
      Returns the value of the clientId record component.
      Returns:
      the value of the clientId record component
    • clientName

      public String clientName()
      Returns the value of the clientName record component.
      Returns:
      the value of the clientName record component
    • clientUri

      public String clientUri()
      Returns the value of the clientUri record component.
      Returns:
      the value of the clientUri record component
    • logoUri

      public String logoUri()
      Returns the value of the logoUri record component.
      Returns:
      the value of the logoUri record component
    • policyUri

      public String policyUri()
      Returns the value of the policyUri record component.
      Returns:
      the value of the policyUri record component
    • redirectUris

      public List<String> redirectUris()
      Returns the value of the redirectUris record component.
      Returns:
      the value of the redirectUris record component
    • grantTypes

      public List<String> grantTypes()
      Returns the value of the grantTypes record component.
      Returns:
      the value of the grantTypes record component
    • responseTypes

      public List<String> responseTypes()
      Returns the value of the responseTypes record component.
      Returns:
      the value of the responseTypes record component
    • scope

      public String scope()
      Returns the value of the scope record component.
      Returns:
      the value of the scope record component
    • tokenEndpointAuthMethod

      public String tokenEndpointAuthMethod()
      Returns the value of the tokenEndpointAuthMethod record component.
      Returns:
      the value of the tokenEndpointAuthMethod record component
    • jwksUri

      public String jwksUri()
      Returns the value of the jwksUri record component.
      Returns:
      the value of the jwksUri record component