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