Class AuthorizationClientProperties
- java.lang.Object
-
- com.azure.spring.cloud.autoconfigure.aadb2c.properties.AuthorizationClientProperties
-
public class AuthorizationClientProperties extends Object
Properties for an oauth2 client.
-
-
Constructor Summary
Constructors Constructor Description AuthorizationClientProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AadAuthorizationGrantTypegetAuthorizationGrantType()Gets the authorization grant type.List<String>getScopes()Gets the list of scopes.voidsetAuthorizationGrantType(AadAuthorizationGrantType authorizationGrantType)Sets the authorization grant type.voidsetScopes(List<String> scopes)Sets the list of scopes.
-
-
-
Method Detail
-
getAuthorizationGrantType
public AadAuthorizationGrantType getAuthorizationGrantType()
Gets the authorization grant type.- Returns:
- the authorization grant type
-
setAuthorizationGrantType
public void setAuthorizationGrantType(AadAuthorizationGrantType authorizationGrantType)
Sets the authorization grant type.- Parameters:
authorizationGrantType- the authorization grant type
-
setScopes
public void setScopes(List<String> scopes)
Sets the list of scopes.- Parameters:
scopes- the list of scopes
-
-