Package io.camunda.identity.sdk
Class IdentityConfiguration.Builder
java.lang.Object
io.camunda.identity.sdk.IdentityConfiguration.Builder
- Enclosing class:
- IdentityConfiguration
The type Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build an Identity configuration.withAudience(String audience) With audience builder.withAuthScopes(String authScopes) With authScopes builder.withBaseUrl(String baseUrl) With baseUrl builder.withClientId(String clientId) Sets the client idwithClientSecret(String clientSecret) Sets the client secretwithIssuer(String issuer) Sets the issuerwithIssuerBackendUrl(String issuerBackendUrl) Sets the issuer backend urlWith type builder.
-
Constructor Details
-
Builder
public Builder()Instantiates a new Builder. -
Builder
Instantiates a new Builder.- Parameters:
issuer- the issuerclientId- the client idclientSecret- the client secret
-
-
Method Details
-
withIssuer
Sets the issuer- Parameters:
issuer- the issuer url- Returns:
- the builder
-
withIssuerBackendUrl
Sets the issuer backend url- Parameters:
issuerBackendUrl- the issuer backend url- Returns:
- the builder
-
withClientId
Sets the client id- Parameters:
clientId- client id- Returns:
- the builder
-
withClientSecret
Sets the client secret- Parameters:
clientSecret- client secret- Returns:
- the builder
-
withBaseUrl
With baseUrl builder.- Parameters:
baseUrl- the base url- Returns:
- the builder
-
withAudience
With audience builder.- Parameters:
audience- the audience- Returns:
- the builder
-
withType
With type builder.- Parameters:
type- the type- Returns:
- the builder
-
withAuthScopes
With authScopes builder.- Parameters:
authScopes- the authScopes- Returns:
- the builder
-
build
Build an Identity configuration.- Returns:
- the Identity configuration
-