AppleHandler
@MainActor
@objc
public final class AppleHandler : NSObject, @preconcurrency IdpHandler, Sendable
IdpHandler for Apple
-
Token type for the IdpHandler.
Declaration
Swift
@MainActor public var tokenType: String -
authorize(idpClient:Asynchronous) Authorizes the user with the IDP, based on the IdpClient.
Throws
An error if the authorization fails or if the token is missing.Declaration
Swift
@MainActor public func authorize(idpClient: IdpClient) async throws -> IdpResultParameters
idpClientThe
IdpClientinstance used to initiate the authorization flow.Return Value
An
IdpResultobject containing the result of the authorization. -
Declaration
Swift
@MainActor public static let acceptsJSON: String
View on GitHub