Prompt

public struct Prompt : Sendable

A struct representing the prompt to be displayed to the user during an authentication ceremony.

  • The title of the prompt.

    Declaration

    Swift

    public let title: String
  • The subtitle of the prompt.

    Declaration

    Swift

    public let subtitle: String
  • The description of the prompt.

    Declaration

    Swift

    public let description: String
  • Initializes a new Prompt.

    Declaration

    Swift

    public init(title: String, subtitle: String, description: String)

    Parameters

    title

    The title of the prompt.

    subtitle

    The subtitle of the prompt.

    description

    The description of the prompt.