BasicCredential

public struct BasicCredential : Codable

Username and password of the basic credential

  • Username of the user

    Declaration

    Swift

    public let username: String
  • Password for the username

    Declaration

    Swift

    public let password: String
  • Initializer of BasicCredential

    Declaration

    Swift

    public init(username: String, password: String)

    Parameters

    username

    username of the user

    password

    password for the username