Record Class IdentityProperties

java.lang.Object
java.lang.Record
io.camunda.identity.autoconfigure.IdentityProperties

@ConfigurationProperties(prefix="camunda.identity") public record IdentityProperties(String baseUrl, String issuer, String issuerBackendUrl, String jwksUrl, String clientId, String clientSecret, String audience, IdentityConfiguration.Type type, String authScopes) extends Record
  • Constructor Details

    • IdentityProperties

      public IdentityProperties(String baseUrl, String issuer, String issuerBackendUrl, String jwksUrl, String clientId, String clientSecret, String audience, IdentityConfiguration.Type type, String authScopes)
      Creates an instance of a IdentityProperties record class.
      Parameters:
      baseUrl - the value for the baseUrl record component
      issuer - the value for the issuer record component
      issuerBackendUrl - the value for the issuerBackendUrl record component
      jwksUrl - the value for the jwksUrl record component
      clientId - the value for the clientId record component
      clientSecret - the value for the clientSecret record component
      audience - the value for the audience record component
      type - the value for the type record component
      authScopes - the value for the authScopes record component
  • Method Details

    • type

      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • 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.
    • baseUrl

      public String baseUrl()
      Returns the value of the baseUrl record component.
      Returns:
      the value of the baseUrl record component
    • issuer

      public String issuer()
      Returns the value of the issuer record component.
      Returns:
      the value of the issuer record component
    • issuerBackendUrl

      public String issuerBackendUrl()
      Returns the value of the issuerBackendUrl record component.
      Returns:
      the value of the issuerBackendUrl record component
    • jwksUrl

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

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

      public String clientSecret()
      Returns the value of the clientSecret record component.
      Returns:
      the value of the clientSecret record component
    • audience

      public String audience()
      Returns the value of the audience record component.
      Returns:
      the value of the audience record component
    • authScopes

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