Contents

init(_:context:)

Creates a local authentication view with a required context.

Declaration

@MainActor @preconcurrency init<S>(_ title: S, context: LAContext) where Label == Text, S : StringProtocol

Parameters

  • title:

    A title that displays below the authentication view.

  • context:

    A context used to evaluate authentication policies.

See Also

Authenticating with a context you supply