description
public var description : String
Human readable description
setCurrentToken(_:)
public static func setCurrentToken(_ token : FTMCToken?) -> Bool
Sets a new Token
- Parameter token: Fintiv MobileCommerce token to be set
- Returns: return true if succeful store securely
Name | Description |
---|---|
token | Fintiv MobileCommerce token to be set |
currentToken()
public static func currentToken() -> FTMCToken?
Retrieves the current Token, if any
- Returns: Fintiv token, if any
isExpired()
@objc public func isExpired() -> Bool
Whether the token’s expiration date has passed
- Returns: true if the token’s expiration date is in the past
renewIfNeeded()
public func renewIfNeeded()
Convenience method or renew the session token if needed