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.