cancel
TypeScriptcancel(): voidSwift declarationfunc cancel()class · iOS 12.0+ · SDK 27.1
class ASWebAuthenticationSessioncancel(): voidSwift declarationfunc cancel()static initUrlCallbackCompletionHandler(URL: string, callback: ASWebAuthenticationSession_Callback, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): ASWebAuthenticationSessionSwift declarationinit(url URL: URL, callback: ASWebAuthenticationSession.Callback, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler)static initUrlCallbackURLSchemeCompletionHandler(URL: string, callbackURLScheme: (string) | null, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): ASWebAuthenticationSessionSwift declarationinit(url URL: URL, callbackURLScheme: String?, completionHandler: @escaping ASWebAuthenticationSession.CompletionHandler)start(): booleanSwift declarationfunc start() -> Boolget additionalHeaderFields(): (Record<string, string>) | nullSwift declarationvar additionalHeaderFields: [String : String]? { get set }set additionalHeaderFields(value: (Record<string, string>) | null)Swift declarationvar additionalHeaderFields: [String : String]? { get set }get canStart(): booleanSwift declarationvar canStart: Bool { get }get prefersEphemeralWebBrowserSession(): booleanSwift declarationvar prefersEphemeralWebBrowserSession: Bool { get set }set prefersEphemeralWebBrowserSession(value: boolean)Swift declarationvar prefersEphemeralWebBrowserSession: Bool { get set }get presentationContextProvider(): (SDKHandle) | nullSwift declarationweak var presentationContextProvider: (any ASWebAuthenticationPresentationContextProviding)? { get set }set presentationContextProvider(value: (SDKHandle) | null)Swift declarationweak var presentationContextProvider: (any ASWebAuthenticationPresentationContextProviding)? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ASWebAuthenticationSession.init()
inherited init: cannot prove legal (class declares 4 custom initializers)