Credentials

Base exception class for credential-related errors.

Every failure to turn a io.portalhq.android.utils.credentials.PortalCredentials into a usable bearer token is normalized to PortalCredentialError at the SDK's credential boundary (io.portalhq.android.utils.credentials.resolveCredentialToken); branch on its PortalCredentialError.reason.

Inheritors

Types

Link copied to clipboard

Thrown when a component was constructed with neither an apiKey nor credentials.

Link copied to clipboard

The single error every credential resolution failure is normalized to.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?