Credentials
public struct Credentials
The Credentials
offer the possibility to declare a user name and password for a basic authentication.
-
The
init
for the initialization of aCredential
consisting of a user name and a password.Declaration
Swift
public init(userName: String, password: String)