TokenType
public enum TokenType : CustomStringConvertible
TokenType
is used for token authentication over a bearer token or a custom defined token.
-
describes the bearer token authentication.
Declaration
Swift
case bearer(token: String)
-
describes a custom definable token authentication.
Declaration
Swift
case custom(token: String)
-
description
variable returns aString
representation of the two token typesDeclaration
Swift
public var description: String { get }