Editar

Partilhar via


Serializer class

Methods

serializeAccessTokens(AccessTokenCache)

Serializes AccessTokens

serializeAccounts(AccountCache)

Serialize Accounts

serializeAllCache(InMemoryCache)

Serialize the cache

serializeAppMetadata(AppMetadataCache)

Serialize amdtCache

serializeIdTokens(IdTokenCache)

Serialize IdTokens

serializeJSONBlob(JsonCache)

serialize the JSON blob

serializeRefreshTokens(RefreshTokenCache)

Serialize refreshTokens

Method Details

serializeAccessTokens(AccessTokenCache)

Serializes AccessTokens

static function serializeAccessTokens(atCache: AccessTokenCache): Record<string, SerializedAccessTokenEntity>

Parameters

atCache

AccessTokenCache

Returns

Record<string, SerializedAccessTokenEntity>

serializeAccounts(AccountCache)

Serialize Accounts

static function serializeAccounts(accCache: AccountCache): Record<string, SerializedAccountEntity>

Parameters

accCache

AccountCache

Returns

Record<string, SerializedAccountEntity>

serializeAllCache(InMemoryCache)

Serialize the cache

static function serializeAllCache(inMemCache: InMemoryCache): JsonCache

Parameters

inMemCache
InMemoryCache

Returns

serializeAppMetadata(AppMetadataCache)

Serialize amdtCache

static function serializeAppMetadata(amdtCache: AppMetadataCache): Record<string, SerializedAppMetadataEntity>

Parameters

amdtCache

AppMetadataCache

Returns

Record<string, SerializedAppMetadataEntity>

serializeIdTokens(IdTokenCache)

Serialize IdTokens

static function serializeIdTokens(idTCache: IdTokenCache): Record<string, SerializedIdTokenEntity>

Parameters

idTCache

IdTokenCache

Returns

Record<string, SerializedIdTokenEntity>

serializeJSONBlob(JsonCache)

serialize the JSON blob

static function serializeJSONBlob(data: JsonCache): string

Parameters

data
JsonCache

Returns

string

serializeRefreshTokens(RefreshTokenCache)

Serialize refreshTokens

static function serializeRefreshTokens(rtCache: RefreshTokenCache): Record<string, SerializedRefreshTokenEntity>

Parameters

rtCache

RefreshTokenCache

Returns