Result

sealed class Result

The result of calling requestAuth.

Inheritors

Types

Link copied to clipboard

An authentication token was not acquired. Go back one step in the connection creation or authentication process.

Link copied to clipboard

An authentication token was not acquired. Cancel the connection creation or authentication process.

Link copied to clipboard
class Error(val message: String) : AuthProvider.Result

An authentication token was not acquired. Display or log the given error and stop the connection creation or authentication process.

Link copied to clipboard

An authentication token was not acquired. Fall back to default authentication.

Link copied to clipboard
class Success(val token: String) : AuthProvider.Result

The connection utilizes single sign-on (SSO) authentication and a token is available.