Class XOAuth2AuthenticationState
java.lang.Object
com.icegreen.greenmail.smtp.auth.XOAuth2AuthenticationState
- All Implemented Interfaces:
AuthenticationState, UsernameAuthentication
public class XOAuth2AuthenticationState
extends Object
implements AuthenticationState, UsernameAuthentication
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XOAuth2AuthenticationState
- Parameters:
xoauth2Message- parsed XOAuth2 message
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceAuthenticationState- Returns:
- The type of the used authentication mechanism, e.g.
PLAINorLOGIN.
-
getUsername
- Specified by:
getUsernamein interfaceUsernameAuthentication
-
getAccessToken
-