Class AuthorizationClientProperties
java.lang.Object
com.azure.spring.cloud.autoconfigure.aadb2c.properties.AuthorizationClientProperties
Properties for an OAuth2 client.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.core.AuthorizationGrantTypeGets the authorization grant type.Gets the list of scopes.voidsetAuthorizationGrantType(org.springframework.security.oauth2.core.AuthorizationGrantType authorizationGrantType) Sets the authorization grant type.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
-