IdpRequestHandler
public protocol IdpRequestHandler : Sendable
Interface representing an Identity Provider (IdP) handler.
-
authorize(url:
Asynchronous) Authorizes the user with the IdP.
Declaration
Swift
func authorize(url: URL?) async throws -> Request
Parameters
url
The URL to use for authorization.
Return Value
A
Request
object containing the result of the authorization -
fetch(httpClient:
Default implementation, asynchronousurl: )