Class MicrosoftOAuth2TokenProvider

java.lang.Object
io.jmix.email.authentication.impl.AbstractOAuth2TokenProvider
io.jmix.email.authentication.impl.MicrosoftOAuth2TokenProvider
All Implemented Interfaces:
OAuth2TokenProvider

public class MicrosoftOAuth2TokenProvider extends AbstractOAuth2TokenProvider
  • Constructor Details

  • Method Details

    • getAccessToken

      public String getAccessToken()
      Description copied from interface: OAuth2TokenProvider
      Gets access token by using refresh token.
      Returns:
      access token value
    • createCredential

      protected com.microsoft.aad.msal4j.IClientCredential createCredential()
    • buildClientApplication

      protected com.microsoft.aad.msal4j.ConfidentialClientApplication buildClientApplication(com.microsoft.aad.msal4j.IClientCredential credential)
    • getScopes

      protected Set<String> getScopes()
    • buildAuthorityUrl

      protected String buildAuthorityUrl()
    • getBaseAuthorityUrl

      protected String getBaseAuthorityUrl()
    • getTenant

      protected String getTenant()