Package com.azure.spring.aad.webapp
Class AzureClientRegistration
- java.lang.Object
-
- com.azure.spring.aad.webapp.AzureClientRegistration
-
public class AzureClientRegistration extends Object
Azure oauth2 client registration. It has 2 kind of scopes: 1. AzureClientRegistration.client.scopes: used to authorize. 2. AzureClientRegistration.accessTokenScopes: used to get access_token.
-
-
Constructor Summary
Constructors Constructor Description AzureClientRegistration(org.springframework.security.oauth2.client.registration.ClientRegistration client, Set<String> scopes)Creates a new instance ofAzureClientRegistration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getAccessTokenScopes()Gets the set of access token scopes.org.springframework.security.oauth2.client.registration.ClientRegistrationgetClient()Gets the client registration.
-
-
-
Constructor Detail
-
AzureClientRegistration
public AzureClientRegistration(org.springframework.security.oauth2.client.registration.ClientRegistration client, Set<String> scopes)Creates a new instance ofAzureClientRegistration.- Parameters:
client- the client registrationscopes- the set of access token scopes
-
-