AuthMethodUnavailable

Thrown when an OAuth login is started for a provider the auth environment has not enabled.

Not retryable: the backend omits a provider's authorize URL because that provider is switched off (or has no credentials saved) for this auth environment, so a second attempt fails identically. Read getMethods().allowedAuthMethods and present the method as unavailable instead.

Parameters

method

The wire value of the auth method, e.g. GOOGLE. A String rather than an io.portalhq.android.auth.data.AuthMethod so this package, which every other one depends on, does not depend on a feature package in return.

Constructors

Link copied to clipboard
constructor(method: String)

Properties

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