TokenResult
public enum TokenResult
Async result of attempting to retrieve a new subaio-token.
-
Token successfully retrieved.
Declaration
Swift
case success(token: String)
-
Token could not be retrieved for some reason, e.g. lost connection. Current token is retained and refreshing will be reattempted.
Declaration
Swift
case unavailable
-
Authentication is no longer possible, ie. the user has logged out. Current token is removed and refreshing will not be attempted unless refreshToken is called.
Declaration
Swift
case unauthenticated