com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class TokenProvider.Outlook

  • Enclosing class:
    TokenProvider


    public static class TokenProvider.Outlook
    extends Object

    Provides an instance of the TokenProvider for Outlook mail server

    • Constructor Detail

      • TokenProvider.Outlook

        public TokenProvider.Outlook()
    • Method Detail

      • getInstance

        public static TokenProvider getInstance(String clientId,
                                String clientSecret,
                                String refreshToken)

        Gets an instance of the TokenProvider for Outlook mail server

        Parameters:
        clientId - The client ID obtained from the Microsoft account Developer Center during application registration.
        clientSecret - The client secret obtained during application registration.
        refreshToken - OAuth 2.0 refresh token
        Returns:
        Returns an instance of the OutlookTokenProvider for defined parameters.