Class AuthorizationClientProperties

java.lang.Object
com.azure.spring.cloud.autoconfigure.aad.properties.AuthorizationClientProperties

public class AuthorizationClientProperties extends Object
Properties for an oauth2 client.
  • 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

      public void setScopes(List<String> scopes)
      Sets the list of scopes.
      Parameters:
      scopes - the list of scopes
    • getScopes

      public List<String> getScopes()
      Gets the list of scopes.
      Returns:
      the list of scopes
    • getClientAuthenticationMethod

      public org.springframework.security.oauth2.core.ClientAuthenticationMethod getClientAuthenticationMethod()
      Gets the client authentication method.
      Returns:
      the client authentication method
    • setClientAuthenticationMethod

      public void setClientAuthenticationMethod(org.springframework.security.oauth2.core.ClientAuthenticationMethod clientAuthenticationMethod)
      Sets the client authentication method.
      Parameters:
      clientAuthenticationMethod - the client authentication method