Package com.symphony.bdk.core.auth
Interface AppAuthSession
- All Known Implementing Classes:
AppAuthSessionCertImpl
,AppAuthSessionRsaImpl
@API(status=STABLE)
public interface AppAuthSession
Extension App Authentication session handle. The
refresh()
will trigger a re-auth against the API endpoints.
You should keep using the same Symphony token. This token will expire at expireAt()
,
at which you should re-authenticate and get a new Symphony token for a new session.
-
Method Details
-
getSymphonyToken
Symphony token for extension app session.- Returns:
- Symphony token
-
getAppToken
Extension app authentication token.- Returns:
- extension app authentication token
-
expireAt
Unix Timestamp in milliseconds of Symphony token expiration- Returns:
- timestamp of Symphony token expiration
-
refresh
Trigger re-authentication to refresh tokens.- Throws:
AuthUnauthorizedException
-