Record Class CreateTenantAppleIdentityProviderRequest

java.lang.Object
java.lang.Record
com.mxraven.admin.model.CreateTenantAppleIdentityProviderRequest
Record Components:
idpRef - immutable identity-provider reference
name - human-readable provider name
clientId - Apple service client identifier
teamId - Apple developer team identifier
keyId - Apple signing key identifier
privateKey - Apple signing private key
scopes - optional OAuth scopes
providerOptions - optional provider-specific options

public record CreateTenantAppleIdentityProviderRequest(String idpRef, String name, String clientId, String teamId, String keyId, String privateKey, List<String> scopes, ProviderOptions providerOptions) extends Record
Request body for POST /v2/tenants/{slug}/identity-providers/apple.
  • Constructor Details

    • CreateTenantAppleIdentityProviderRequest

      public CreateTenantAppleIdentityProviderRequest(String idpRef, String name, String clientId, String teamId, String keyId, String privateKey, List<String> scopes, ProviderOptions providerOptions)
      Creates an instance of a CreateTenantAppleIdentityProviderRequest record class.
      Parameters:
      idpRef - the value for the idpRef record component
      name - the value for the name record component
      clientId - the value for the clientId record component
      teamId - the value for the teamId record component
      keyId - the value for the keyId record component
      privateKey - the value for the privateKey record component
      scopes - the value for the scopes record component
      providerOptions - the value for the providerOptions record component
  • Method Details

    • builder

      Creates a new request builder.
      Returns:
      a new builder
    • 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.
    • idpRef

      public String idpRef()
      Returns the value of the idpRef record component.
      Returns:
      the value of the idpRef record component
    • name

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

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

      public String teamId()
      Returns the value of the teamId record component.
      Returns:
      the value of the teamId record component
    • keyId

      public String keyId()
      Returns the value of the keyId record component.
      Returns:
      the value of the keyId record component
    • privateKey

      public String privateKey()
      Returns the value of the privateKey record component.
      Returns:
      the value of the privateKey record component
    • scopes

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

      public ProviderOptions providerOptions()
      Returns the value of the providerOptions record component.
      Returns:
      the value of the providerOptions record component