LegacyTokenMigration

object LegacyTokenMigration

A helper class to migrate tokens from the Legacy OIDC SDK to Auth Foundations Credential.

See migrate.md for more information.

Types

Link copied to clipboard
sealed class Result

Describes the result from LegacyTokenMigration.migrate.

Functions

Link copied to clipboard
suspend fun migrate(    context: Context,     sessionClient: SessionClient,     credential: Credential): LegacyTokenMigration.Result

Attempts to migrate a token from a SessionClient to a Credential.