public static final class ProvidersTypes.Oauth2UpdateSpec.Builder
extends java.lang.Object
ProvidersTypes.Oauth2UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ProvidersTypes.Oauth2UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
ProvidersTypes.Oauth2UpdateSpec |
build() |
ProvidersTypes.Oauth2UpdateSpec.Builder |
setAuthEndpoint(java.net.URI authEndpoint)
Authentication/authorization endpoint of the provider.
|
ProvidersTypes.Oauth2UpdateSpec.Builder |
setAuthenticationMethod(ProvidersTypes.Oauth2AuthenticationMethod authenticationMethod)
Authentication method used by the provider.
|
ProvidersTypes.Oauth2UpdateSpec.Builder |
setAuthQueryParams(java.util.Map<java.lang.String,java.util.List<java.lang.String>> authQueryParams)
key/value pairs that are to be appended to the authEndpoint request.
|
ProvidersTypes.Oauth2UpdateSpec.Builder |
setClaimMap(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<java.lang.String>>> claimMap)
The map used to transform an OAuth2 claim to a corresponding claim that vCenter
Server understands.
|
ProvidersTypes.Oauth2UpdateSpec.Builder |
setClientId(java.lang.String clientId)
Client identifier to connect to the provider.
|
ProvidersTypes.Oauth2UpdateSpec.Builder |
setClientSecret(java.lang.String clientSecret)
Shared secret between identity provider and client.
|
ProvidersTypes.Oauth2UpdateSpec.Builder |
setIssuer(java.lang.String issuer)
The identity provider namespace.
|
ProvidersTypes.Oauth2UpdateSpec.Builder |
setPublicKeyUri(java.net.URI publicKeyUri)
Endpoint to retrieve the provider public key for validation.
|
ProvidersTypes.Oauth2UpdateSpec.Builder |
setTokenEndpoint(java.net.URI tokenEndpoint)
Token endpoint of the provider.
|
public Builder()
ProvidersTypes.Oauth2UpdateSpec
.public ProvidersTypes.Oauth2UpdateSpec.Builder setAuthEndpoint(java.net.URI authEndpoint)
null
, leaves value unchanged.authEndpoint
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec.Builder setTokenEndpoint(java.net.URI tokenEndpoint)
null
, leaves value unchanged.tokenEndpoint
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec.Builder setPublicKeyUri(java.net.URI publicKeyUri)
null
, leaves value unchanged.publicKeyUri
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec.Builder setClientId(java.lang.String clientId)
null
, leaves value unchanged.clientId
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec.Builder setClientSecret(java.lang.String clientSecret)
null
, leaves value unchanged.clientSecret
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec.Builder setClaimMap(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<java.lang.String>>> claimMap)
null
, leaves value unchanged.claimMap
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec.Builder setIssuer(java.lang.String issuer)
null
, leaves value unchanged.issuer
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec.Builder setAuthenticationMethod(ProvidersTypes.Oauth2AuthenticationMethod authenticationMethod)
null
, leaves value unchanged.authenticationMethod
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec.Builder setAuthQueryParams(java.util.Map<java.lang.String,java.util.List<java.lang.String>> authQueryParams)
null
, leaves value unchanged.authQueryParams
- New value for the property.public ProvidersTypes.Oauth2UpdateSpec build()