Vapor Documentation Beta

Structure Basic​Authorization

public struct BasicAuthorization

A basic username and password.

Initializers

init(username:​password:​)

public init(username: String, password: String)

Create a new BasicAuthorization.

Properties

username

let username: String

The username, sometimes an email address

password

let password: String

The plaintext password