Class AuthorizationClientProperties
java.lang.Object
com.azure.spring.cloud.autoconfigure.aad.properties.AuthorizationClientProperties
Properties for an oauth2 client.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.core.AuthorizationGrantType
Gets the authorization grant type.org.springframework.security.oauth2.core.ClientAuthenticationMethod
Gets the client authentication method.Gets the list of scopes.void
setAuthorizationGrantType
(org.springframework.security.oauth2.core.AuthorizationGrantType authorizationGrantType) Sets the authorization grant type.void
setClientAuthenticationMethod
(org.springframework.security.oauth2.core.ClientAuthenticationMethod clientAuthenticationMethod) Sets the client authentication method.void
Sets 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
-