Protocol

ASWebAuthenticationPresentationContextProviding

An interface the session uses to ask a delegate for a presentation context.

Declaration

protocol ASWebAuthenticationPresentationContextProviding

Topics

Specifying the Anchor

func presentationAnchor(for: ASWebAuthenticationSession) -> ASPresentationAnchor

Tells the delegate from which window it should present content to the user.

Required.

typealias ASPresentationAnchor

A platform-specific type that indicates the kind of user interface element to use as a presentation anchor.

Relationships

Inherits From

See Also

Presenting a Session

var presentationContextProvider: ASWebAuthenticationPresentationContextProviding?

A delegate that provides a display context in which the system can present an authentication session to the user.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software