IdpRequestHandler

Interface representing an Identity Provider (IdP) handler. Implementations of this interface are responsible for handling authorization requests to different IdPs.

Functions

Link copied to clipboard
abstract suspend fun authorize(url: String): Request

Authorizes a user by making a request to the given authenticate URL.

Link copied to clipboard
open suspend fun fetch(httpClient: HttpClient, url: String): IdpClient