Class IdentityConfiguration

java.lang.Object
io.camunda.identity.sdk.IdentityConfiguration

public class IdentityConfiguration extends Object
Identity configuration.
  • Constructor Details

    • IdentityConfiguration

      public IdentityConfiguration(String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience)
      Instantiates a new Identity configuration.
      Parameters:
      issuer - the issuer
      issuerBackendUrl - the issuer url for back-channel communication
      clientId - the client id
      clientSecret - the client secret
      audience - the audience
    • IdentityConfiguration

      public IdentityConfiguration(String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience, String type)
      Instantiates a new Identity configuration.
      Parameters:
      issuer - the issuer
      issuerBackendUrl - the issuer url for back-channel communication
      clientId - the client id
      clientSecret - the client secret
      audience - the audience
      type - the type
    • IdentityConfiguration

      public IdentityConfiguration(String baseUrl, String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience, String type)
      Instantiates a new Identity configuration.
      Parameters:
      baseUrl - the base url of the Camunda Identity instance
      issuer - the issuer
      issuerBackendUrl - the issuer url for back-channel communication
      clientId - the client id
      clientSecret - the client secret
      audience - the audience
      type - the type
    • IdentityConfiguration

      public IdentityConfiguration(String baseUrl, String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience, String type, String authScopes)
      Instantiates a new Identity configuration.
      Parameters:
      baseUrl - the base url of the Camunda Identity instance
      issuer - the issuer
      issuerBackendUrl - the issuer url for back-channel communication
      clientId - the client id
      clientSecret - the client secret
      audience - the audience
      type - the type
      authScopes - the authScopes
  • Method Details

    • getBaseUrl

      public String getBaseUrl()
      Gets base url
      Returns:
      the base url
    • getIssuer

      public String getIssuer()
      Gets issuer.
      Returns:
      the issuer
    • getIssuerBackendUrl

      public String getIssuerBackendUrl()
      Gets issuer backend url.
      Returns:
      the issuer backend url
    • getClientId

      public String getClientId()
      Gets client id.
      Returns:
      the client id
    • getAudience

      public String getAudience()
      Gets audience.
      Returns:
      the audience
    • getClientSecret

      public String getClientSecret()
      Gets client secret.
      Returns:
      the client secret
    • getType

      public IdentityConfiguration.Type getType()
      Gets type.
      Returns:
      the type
    • getAuthScopes

      public String getAuthScopes()
      Gets authScopes.
      Returns:
      the authScopes