@API(status=INTERNAL) public class AppAuthSessionCertImpl extends java.lang.Object implements AppAuthSession
AppAuthSession
implementation for certificate extension app authentication mode.Constructor and Description |
---|
AppAuthSessionCertImpl(ExtensionAppAuthenticatorCertImpl authenticator,
java.lang.String appToken) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
expireAt()
Unix Timestamp in milliseconds of Symphony token expiration
|
java.lang.String |
getAppToken()
Extension app authentication token.
|
protected ExtensionAppAuthenticator |
getAuthenticator()
This method is only visible for testing.
|
java.lang.String |
getSymphonyToken()
Symphony token for extension app session.
|
void |
refresh()
Trigger re-authentication to refresh tokens.
|
public AppAuthSessionCertImpl(ExtensionAppAuthenticatorCertImpl authenticator, java.lang.String appToken)
public java.lang.String getSymphonyToken()
getSymphonyToken
in interface AppAuthSession
public java.lang.String getAppToken()
getAppToken
in interface AppAuthSession
public java.lang.Long expireAt()
expireAt
in interface AppAuthSession
public void refresh() throws AuthUnauthorizedException
refresh
in interface AppAuthSession
AuthUnauthorizedException
protected ExtensionAppAuthenticator getAuthenticator()