requestAuth

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.

Implementers of this method may retrieve or generate this token in a variety of ways, including direct interaction with the user or even invoking an external app.

Parameters

descriptor
Describes the connection.
onResponse
A callback function to return the requested details. This function may be called from
within this method or asynchronously, but **must** be called to avoid deadlock of
portions of the app that expect a response.