Interface AppAuthSession

All Superinterfaces:
AuthSession
All Known Implementing Classes:
AppAuthSessionCertImpl, AppAuthSessionRsaImpl

@API(status=STABLE) public interface AppAuthSession extends AuthSession
Extension App Authentication session handle. The AuthSession.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 Summary

    Modifier and Type
    Method
    Description
    Unix Timestamp in milliseconds of Symphony token expiration
    Extension app authentication token.
    Symphony token for extension app session.

    Methods inherited from interface com.symphony.bdk.core.auth.AuthSession

    refresh
  • Method Details

    • getSymphonyToken

      @Nullable String getSymphonyToken()
      Symphony token for extension app session.
      Returns:
      Symphony token
    • getAppToken

      @Nullable String getAppToken()
      Extension app authentication token.
      Returns:
      extension app authentication token
    • expireAt

      @Nullable Long expireAt()
      Unix Timestamp in milliseconds of Symphony token expiration
      Returns:
      timestamp of Symphony token expiration