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