public static final class CspOauthClient.Builder
extends java.lang.Object
CspOauthClient
.Constructor and Description |
---|
Builder(java.lang.String id)
Constructor with parameters for the required properties of
CspOauthClient . |
Modifier and Type | Method and Description |
---|---|
CspOauthClient |
build() |
CspOauthClient.Builder |
setAccessTokenTTL(java.lang.Long accessTokenTTL) |
CspOauthClient.Builder |
setGrantTypes(java.util.List<java.lang.String> grantTypes) |
CspOauthClient.Builder |
setOrgId(java.lang.String orgId) |
CspOauthClient.Builder |
setRedirectUri(java.lang.String redirectUri) |
CspOauthClient.Builder |
setRedirectUris(java.util.List<java.lang.String> redirectUris) |
CspOauthClient.Builder |
setRefreshTokenTTL(java.lang.Long refreshTokenTTL) |
CspOauthClient.Builder |
setResourceLink(java.lang.String resourceLink) |
CspOauthClient.Builder |
setSecret(java.lang.String secret)
The Oauth client secret.
|
public Builder(java.lang.String id)
CspOauthClient
.public CspOauthClient.Builder setRedirectUris(java.util.List<java.lang.String> redirectUris)
redirectUris
- New value for the property.public CspOauthClient.Builder setAccessTokenTTL(java.lang.Long accessTokenTTL)
accessTokenTTL
- New value for the property.public CspOauthClient.Builder setRedirectUri(java.lang.String redirectUri)
redirectUri
- New value for the property.public CspOauthClient.Builder setGrantTypes(java.util.List<java.lang.String> grantTypes)
grantTypes
- New value for the property.public CspOauthClient.Builder setOrgId(java.lang.String orgId)
orgId
- New value for the property.public CspOauthClient.Builder setSecret(java.lang.String secret)
secret
- New value for the property.public CspOauthClient.Builder setRefreshTokenTTL(java.lang.Long refreshTokenTTL)
refreshTokenTTL
- New value for the property.public CspOauthClient.Builder setResourceLink(java.lang.String resourceLink)
resourceLink
- New value for the property.public CspOauthClient build()