Contents

init(context:label:)

Creates a local authentication view with a label and required context.

Declaration

@MainActor @preconcurrency init(context: LAContext, @ViewBuilder label: () -> Label)

Parameters

  • context:

    A context used to evaluate authentication policies.

  • label:

    A label that displays below the authentication view.

See Also

Authenticating with a context you supply