Class AuthorizationClientProperties
- java.lang.Object
-
- com.azure.spring.autoconfigure.b2c.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
-
-