Interface OAuth2AccessTokenProvider

    • Method Detail

      • getAccessToken

        String getAccessToken()
                       throws javax.mail.MessagingException
        Gets an OAuth2 access token for accessing the mailbox.
        Returns:
        An OAuth2 access token for accessing the mailbox
        Throws:
        javax.mail.MessagingException - If there are problems retrieving the access token, a MessagingException will be thrown.