AuthStore

csw.aas.installed.api.AuthStore
trait AuthStore

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

remove all the tokens from store one of the use case for this is, on logout - clear store

remove all the tokens from store one of the use case for this is, on logout - clear store

Attributes

Attributes

Returns

access token string if it is present in store

Attributes

Returns

id token string if it is present in store

Attributes

Returns

refresh token string if it is present in store

def saveTokens(idToken: String, accessToken: String, refreshToken: String): Unit

store all tokens received from auth server as a part of login process or token refresh activity

store all tokens received from auth server as a part of login process or token refresh activity

Value parameters

accessToken

token that can be used by an application to access an API. They inform the API that the bearer of the token has been authorized to access the API and perform specific actions specified by the scope that has been granted.

idToken

token that contains user profile information (like the user's name, email, and so forth), represented in the form of claims

refreshToken

token that can be used to obtain a renewed access token. You can request new access tokens until the refresh token is expired.

Attributes