Package com.symphony.bdk.core.auth
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
-
Method Details
-
refresh
Trigger re-authentication to refresh tokens.- Throws:
AuthUnauthorizedException
-