Class ASWebAuthenticationSession

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class ASWebAuthenticationSession
extends NSObject
Since:
Available in iOS 12.0 and later.
  • Constructor Details

    • ASWebAuthenticationSession

      protected ASWebAuthenticationSession()
    • ASWebAuthenticationSession

      protected ASWebAuthenticationSession​(NSObject.Handle h, long handle)
    • ASWebAuthenticationSession

      protected ASWebAuthenticationSession​(NSObject.SkipInit skipInit)
    • ASWebAuthenticationSession

      public ASWebAuthenticationSession​(NSURL URL, String callbackURLScheme, VoidBlock2<NSURL,​NSError> completionHandler)
  • Method Details

    • getPresentationContextProvider

      public ASWebAuthenticationPresentationContextProviding getPresentationContextProvider()
      Since:
      Available in iOS 13.0 and later.
    • setPresentationContextProvider

      public void setPresentationContextProvider​(ASWebAuthenticationPresentationContextProviding v)
      Since:
      Available in iOS 13.0 and later.
    • prefersEphemeralWebBrowserSession

      public boolean prefersEphemeralWebBrowserSession()
      Since:
      Available in iOS 13.0 and later.
    • setPrefersEphemeralWebBrowserSession

      public void setPrefersEphemeralWebBrowserSession​(boolean v)
      Since:
      Available in iOS 13.0 and later.
    • canStart

      public boolean canStart()
      Since:
      Available in iOS 13.4 and later.
    • init

      protected long init​(NSURL URL, String callbackURLScheme, VoidBlock2<NSURL,​NSError> completionHandler)
    • start

      public boolean start()
    • cancel

      public void cancel()