BasicAuthenticationStyle

public struct BasicAuthenticationStyle : AuthenticationStyle

Custom style implementation for basic authentication screen Provides a simplified version of the authentication screen with username and password fields

  • Initialize the basic authentication style with bindings for password and username

    Declaration

    Swift

    public init(password: Binding<String>, name: Binding<String>)

    Parameters

    password

    Binding for password field

    name

    Binding for username field

  • Undocumented

    Declaration

    Swift

    public func makeBody(_ configuration: AuthenticationConfiguration) -> some View