UserIdentity
public struct UserIdentity: iUserIdentity
Implementation of user authentication details
-
User identifier (e.g. e-mail)
Declaration
Swift
public fileprivate(set) var identity: String
-
Authentication key connected to identity (e.g. password)
Declaration
Swift
public fileprivate(set) var accessKey: String
-
Identifies provider used for authentication (e.g. facebook, google). Used in authentication URL path. Must be lower case.
Declaration
Swift
public fileprivate(set) var providerIdentifier: String
-
Initializer.
Declaration
Swift
public init(identity: String, accessKey: String, providerIdentifier: String)