AuthProvider

interface AuthProvider

Provides authentication type and details for a connection.

Since

8.31

Types

Link copied to clipboard
sealed class Result

The result of calling requestAuth.

Functions

Link copied to clipboard
abstract fun requestAuth(descriptor: ConnectionDescriptor, onResponse: (result: AuthProvider.Result) -> Unit)

Requests authentication details for the connection described by the given descriptor. For single-sign-on (SSO) connections, a token is required to complete authentication.