Interface AuthSession

All Known Subinterfaces:
AppAuthSession, BotAuthSession, CustomEnhancedAuthSession
All Known Implementing Classes:
AppAuthSessionCertImpl, AppAuthSessionRsaImpl, AuthSessionImpl, AuthSessionOboCertImpl, AuthSessionOboImpl, EnhancedAuthSession

@API(status=STABLE) public interface AuthSession
Authentication session handle. The refresh() will trigger a re-auth against the API endpoints.

You should keep using the same token until you receive a HTTP 401, at which you should re-authenticate and get a new token for a new session.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Trigger re-authentication to refresh tokens.