public class ClientRegistrationProperties
extends java.lang.Object
ClientRegistration
.
This class may be used to "bind" property values located in the org.springframework.core.env.Environment
and then pass it to ClientRegistration.Builder#Builder(ClientRegistrationProperties)
to construct a ClientRegistration
instance.
ClientRegistration
Constructor and Description |
---|
ClientRegistrationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthorizationUri() |
AuthorizationGrantType |
getAuthorizedGrantType() |
java.lang.String |
getClientAlias() |
ClientAuthenticationMethod |
getClientAuthenticationMethod() |
java.lang.String |
getClientId() |
java.lang.String |
getClientName() |
java.lang.String |
getClientSecret() |
java.lang.String |
getRedirectUri() |
java.util.Set<java.lang.String> |
getScopes() |
java.lang.String |
getTokenUri() |
java.lang.String |
getUserInfoUri() |
void |
setAuthorizationUri(java.lang.String authorizationUri) |
void |
setAuthorizedGrantType(AuthorizationGrantType authorizedGrantType) |
void |
setClientAlias(java.lang.String clientAlias) |
void |
setClientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod) |
void |
setClientId(java.lang.String clientId) |
void |
setClientName(java.lang.String clientName) |
void |
setClientSecret(java.lang.String clientSecret) |
void |
setRedirectUri(java.lang.String redirectUri) |
void |
setScopes(java.util.Set<java.lang.String> scopes) |
void |
setTokenUri(java.lang.String tokenUri) |
void |
setUserInfoUri(java.lang.String userInfoUri) |
public java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
public java.lang.String getClientSecret()
public void setClientSecret(java.lang.String clientSecret)
public ClientAuthenticationMethod getClientAuthenticationMethod()
public void setClientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod)
public AuthorizationGrantType getAuthorizedGrantType()
public void setAuthorizedGrantType(AuthorizationGrantType authorizedGrantType)
public java.lang.String getRedirectUri()
public void setRedirectUri(java.lang.String redirectUri)
public java.util.Set<java.lang.String> getScopes()
public void setScopes(java.util.Set<java.lang.String> scopes)
public java.lang.String getAuthorizationUri()
public void setAuthorizationUri(java.lang.String authorizationUri)
public java.lang.String getTokenUri()
public void setTokenUri(java.lang.String tokenUri)
public java.lang.String getUserInfoUri()
public void setUserInfoUri(java.lang.String userInfoUri)
public java.lang.String getClientName()
public void setClientName(java.lang.String clientName)
public java.lang.String getClientAlias()
public void setClientAlias(java.lang.String clientAlias)