Class AuthorizationClientProperties
java.lang.Object
com.azure.spring.cloud.autoconfigure.aad.properties.AuthorizationClientProperties
Properties for an OAuth2 client.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.core.AuthorizationGrantTypeGets the authorization grant type.org.springframework.security.oauth2.core.ClientAuthenticationMethodGets the client authentication method.Gets the list of scopes.voidsetAuthorizationGrantType(org.springframework.security.oauth2.core.AuthorizationGrantType authorizationGrantType) Sets the authorization grant type.voidsetClientAuthenticationMethod(org.springframework.security.oauth2.core.ClientAuthenticationMethod clientAuthenticationMethod) Sets the client authentication method.voidSets the list of scopes.
-
Constructor Details
-
AuthorizationClientProperties
public AuthorizationClientProperties()
-
-
Method Details
-
getAuthorizationGrantType
public org.springframework.security.oauth2.core.AuthorizationGrantType getAuthorizationGrantType()Gets the authorization grant type.- Returns:
- the authorization grant type
-
setAuthorizationGrantType
public void setAuthorizationGrantType(org.springframework.security.oauth2.core.AuthorizationGrantType authorizationGrantType) Sets the authorization grant type.- Parameters:
authorizationGrantType- the authorization grant type
-
setScopes
Sets the list of scopes.- Parameters:
scopes- the list of scopes
-
getScopes
Gets the list of scopes.- Returns:
- the list of scopes
-
getClientAuthenticationMethod
public org.springframework.security.oauth2.core.ClientAuthenticationMethod getClientAuthenticationMethod()Gets the client authentication method.- Returns:
- the client authentication method
-
setClientAuthenticationMethod
public void setClientAuthenticationMethod(org.springframework.security.oauth2.core.ClientAuthenticationMethod clientAuthenticationMethod) Sets the client authentication method.- Parameters:
clientAuthenticationMethod- the client authentication method
-