Contents

init(_:context:)

Creates a local authentication view with a localizable title and required context.

Declaration

@MainActor @preconcurrency init(_ titleKey: LocalizedStringKey, context: LAContext) where Label == Text

Parameters

  • titleKey:

    A localized title that displays below the authentication view.

  • context:

    A context used to evaluate authentication policies.

See Also

Authenticating with a context you supply