IdpHandler

public protocol IdpHandler

Idp handler protocol.

  • Declaration

    Swift

    var tokenType: String { get set }
  • authorize(idpClient:) Asynchronous

    Authorizes the user with the IDP.

    Declaration

    Swift

    func authorize(idpClient: IdpClient) async throws -> IdpResult

    Parameters

    idpClient

    The IDP client to authorize.

    Return Value

    A Result object containing either the IdpResult or an IdpError.