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
open class PortalCredentialError(val reason: PortalCredentialErrorReason, cause: Throwable? = null) : PortalException.Credentials
The single error every credential resolution failure is normalized to.