Package com.symphony.bdk.core.auth.impl
Class AppAuthSessionRsaImpl
java.lang.Object
com.symphony.bdk.core.auth.impl.AppAuthSessionRsaImpl
- All Implemented Interfaces:
AppAuthSession
AppAuthSession
impl for rsa extension app authentication mode.-
Constructor Summary
ConstructorDescriptionAppAuthSessionRsaImpl
(ExtensionAppAuthenticatorRsaImpl authenticator, String appToken) -
Method Summary
Modifier and TypeMethodDescriptionexpireAt()
Unix Timestamp in milliseconds of Symphony token expirationExtension app authentication token.protected ExtensionAppAuthenticator
This method is only visible for testing.Symphony token for extension app session.void
refresh()
Trigger re-authentication to refresh tokens.
-
Constructor Details
-
AppAuthSessionRsaImpl
-
-
Method Details
-
getSymphonyToken
Symphony token for extension app session.- Specified by:
getSymphonyToken
in interfaceAppAuthSession
- Returns:
- Symphony token
-
getAppToken
Extension app authentication token.- Specified by:
getAppToken
in interfaceAppAuthSession
- Returns:
- extension app authentication token
-
expireAt
Unix Timestamp in milliseconds of Symphony token expiration- Specified by:
expireAt
in interfaceAppAuthSession
- Returns:
- timestamp of Symphony token expiration
-
refresh
Trigger re-authentication to refresh tokens.- Specified by:
refresh
in interfaceAppAuthSession
- Throws:
AuthUnauthorizedException
-
getAuthenticator
This method is only visible for testing.
-