TokenProvider

interface TokenProvider

Provider for a content access token.

Types

Link copied to clipboard
sealed class RequestReason

Description for the reason why a token was requested.

Link copied to clipboard

Description of the context in which the token was requested.

Properties

Link copied to clipboard
abstract val hasToken: Boolean

Property for checking whether the host app has a token to provide at all.

Functions

Link copied to clipboard

Called when the SDK needs a token for a reason described by reason. The trigger provides additional context for why a token is needed.