@API(status=STABLE)
public interface AppAuthSession
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.
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.
|
java.lang.String |
getSymphonyToken()
Symphony token for extension app session.
|
void |
refresh()
Trigger re-authentication to refresh tokens.
|
@Nullable java.lang.String getSymphonyToken()
@Nullable java.lang.String getAppToken()
@Nullable java.lang.Long expireAt()
void refresh() throws AuthUnauthorizedException
AuthUnauthorizedException