Interface MsGraphApiAuthenticator

All Known Implementing Classes:
MsalAuthenticator

public interface MsGraphApiAuthenticator
Handles authenticating to Microsoft Graph using the MSAL library
  • Method Summary

    Modifier and Type
    Method
    Description
    com.microsoft.aad.msal4j.IAuthenticationResult
    Authenticates to Microsoft Graph
  • Method Details

    • getApiToken

      com.microsoft.aad.msal4j.IAuthenticationResult getApiToken() throws OperationFailedException
      Authenticates to Microsoft Graph
      Returns:
      result containing the access token and expiry information
      Throws:
      OperationFailedException - in case of unexpected failure