public static class ClientRegistration.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
authorizationUri |
protected AuthorizationGrantType |
authorizedGrantType |
protected java.lang.String |
clientAlias |
protected ClientAuthenticationMethod |
clientAuthenticationMethod |
protected java.lang.String |
clientId |
protected java.lang.String |
clientName |
protected java.lang.String |
clientSecret |
protected java.lang.String |
jwkSetUri |
protected java.lang.String |
redirectUri |
protected java.util.Set<java.lang.String> |
scopes |
protected java.lang.String |
tokenUri |
protected java.lang.String |
userInfoUri |
Constructor and Description |
---|
Builder(ClientRegistrationProperties clientRegistrationProperties) |
Builder(java.lang.String clientId) |
protected java.lang.String clientId
protected java.lang.String clientSecret
protected ClientAuthenticationMethod clientAuthenticationMethod
protected AuthorizationGrantType authorizedGrantType
protected java.lang.String redirectUri
protected java.util.Set<java.lang.String> scopes
protected java.lang.String authorizationUri
protected java.lang.String tokenUri
protected java.lang.String userInfoUri
protected java.lang.String jwkSetUri
protected java.lang.String clientName
protected java.lang.String clientAlias
public Builder(java.lang.String clientId)
public Builder(ClientRegistrationProperties clientRegistrationProperties)
public ClientRegistration.Builder clientSecret(java.lang.String clientSecret)
public ClientRegistration.Builder clientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod)
public ClientRegistration.Builder authorizedGrantType(AuthorizationGrantType authorizedGrantType)
public ClientRegistration.Builder redirectUri(java.lang.String redirectUri)
public ClientRegistration.Builder scopes(java.lang.String... scopes)
public ClientRegistration.Builder authorizationUri(java.lang.String authorizationUri)
public ClientRegistration.Builder tokenUri(java.lang.String tokenUri)
public ClientRegistration.Builder userInfoUri(java.lang.String userInfoUri)
public ClientRegistration.Builder jwkSetUri(java.lang.String jwkSetUri)
public ClientRegistration.Builder clientName(java.lang.String clientName)
public ClientRegistration.Builder clientAlias(java.lang.String clientAlias)
public ClientRegistration build()
protected void setProperties(ClientRegistration clientRegistration)
protected void validateClientWithAuthorizationCodeGrantType()