Package com.mxraven.admin.model
Class CreateTenantGitHubIdentityProviderRequest.Builder
java.lang.Object
com.mxraven.admin.model.CreateTenantGitHubIdentityProviderRequest.Builder
- Enclosing class:
- CreateTenantGitHubIdentityProviderRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the request.Sets the GitHub client identifier.clientSecret(String clientSecret) Sets the GitHub client secret.Sets the immutable identity-provider reference.Sets the human-readable provider name.providerOptions(ProviderOptions providerOptions) Sets the provider-specific options.Sets the OAuth scopes.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idpRef
Sets the immutable identity-provider reference.- Parameters:
idpRef- identity-provider reference- Returns:
- this builder
-
name
Sets the human-readable provider name.- Parameters:
name- provider name- Returns:
- this builder
-
clientId
Sets the GitHub client identifier.- Parameters:
clientId- client identifier- Returns:
- this builder
-
clientSecret
Sets the GitHub client secret.- Parameters:
clientSecret- client secret- Returns:
- this builder
-
scopes
Sets the OAuth scopes.- Parameters:
scopes- OAuth scopes- Returns:
- this builder
-
providerOptions
public CreateTenantGitHubIdentityProviderRequest.Builder providerOptions(ProviderOptions providerOptions) Sets the provider-specific options.- Parameters:
providerOptions- provider options- Returns:
- this builder
-
build
Builds the request.- Returns:
- new request
- Throws:
IllegalArgumentException- when a field is missing or invalid
-