Package io.camunda.identity.sdk
Class IdentityConfiguration
java.lang.Object
io.camunda.identity.sdk.IdentityConfiguration
Identity configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe type Builder.static enum -
Constructor Summary
ConstructorsConstructorDescriptionIdentityConfiguration(String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience) Instantiates a new Identity configuration.IdentityConfiguration(String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience, String type) Instantiates a new Identity configuration.IdentityConfiguration(String baseUrl, String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience, String type) Instantiates a new Identity configuration.IdentityConfiguration(String baseUrl, String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience, String type, String authScopes) Instantiates a new Identity configuration. -
Method Summary
Modifier and TypeMethodDescriptionGets audience.Gets authScopes.Gets base urlGets client id.Gets client secret.Gets issuer.Gets issuer backend url.getType()Gets type.
-
Constructor Details
-
IdentityConfiguration
public IdentityConfiguration(String issuer, String issuerBackendUrl, String clientId, String clientSecret, String audience) Instantiates a new Identity configuration.- Parameters:
issuer- the issuerissuerBackendUrl- the issuer url for back-channel communicationclientId- the client idclientSecret- the client secretaudience- 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 issuerissuerBackendUrl- the issuer url for back-channel communicationclientId- the client idclientSecret- the client secretaudience- the audiencetype- 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 instanceissuer- the issuerissuerBackendUrl- the issuer url for back-channel communicationclientId- the client idclientSecret- the client secretaudience- the audiencetype- 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 instanceissuer- the issuerissuerBackendUrl- the issuer url for back-channel communicationclientId- the client idclientSecret- the client secretaudience- the audiencetype- the typeauthScopes- the authScopes
-
-
Method Details
-
getBaseUrl
Gets base url- Returns:
- the base url
-
getIssuer
Gets issuer.- Returns:
- the issuer
-
getIssuerBackendUrl
Gets issuer backend url.- Returns:
- the issuer backend url
-
getClientId
Gets client id.- Returns:
- the client id
-
getAudience
Gets audience.- Returns:
- the audience
-
getClientSecret
Gets client secret.- Returns:
- the client secret
-
getType
Gets type.- Returns:
- the type
-
getAuthScopes
Gets authScopes.- Returns:
- the authScopes
-