ProfileTokenProvider

Profile token provider This should return valid tokens. These should be provided by the DsLogin SDK. Needed for communication authorization when contacting server. Only the token matching the active path (legacy or PAM) is requested on each interval.

Functions

Link copied to clipboard
abstract fun getValidIdentityAccessToken(): Single<String>

Returns a valid identity access token (JWT), sent as the Authorization: Bearer header.

Link copied to clipboard
abstract fun getValidLegacySessionToken(): Single<String>

Returns a valid legacy session token, sent as the x-session header.