@API(status=INTERNAL) public class AppAuthSessionRsaImpl extends java.lang.Object implements AppAuthSession
AppAuthSession
impl for rsa extension app authentication mode.Constructor and Description |
---|
AppAuthSessionRsaImpl(ExtensionAppAuthenticatorRsaImpl 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 AppAuthSessionRsaImpl(ExtensionAppAuthenticatorRsaImpl authenticator, java.lang.String appToken)
@Nullable public java.lang.String getSymphonyToken()
getSymphonyToken
in interface AppAuthSession
@Nullable public java.lang.String getAppToken()
getAppToken
in interface AppAuthSession
@Nullable public java.lang.Long expireAt()
expireAt
in interface AppAuthSession
public void refresh() throws AuthUnauthorizedException
refresh
in interface AppAuthSession
AuthUnauthorizedException
protected ExtensionAppAuthenticator getAuthenticator()