LoginResponse
public struct LoginResponse : Codable
Undocumented
-
Collection of companies which this user belongs / has a relationship with
Declaration
Swift
public var companies: [Int]? -
List of roles which this user has
Declaration
Swift
public var roles: [Roles]? -
Primary branding company (if any)
Declaration
Swift
public var branding: Company? -
The actual user
Declaration
Swift
public var user: User? -
Bearer token
Declaration
Swift
public var token: String? -
Bearer token expiry (ms since Epoch)
Declaration
Swift
public var tokenExp: Milliseconds? -
seconds until expiry. This allows for differences in Server clock vs Client clock as the Client can calculate as Date() + Double(expiresIn)
Declaration
Swift
public var expiresIn: TimeInterval? -
Undocumented
Declaration
Swift
public var refresh: String? -
Undocumented
Declaration
Swift
public var updatedTerms: [UpdatedTerms]? -
Undocumented
Declaration
Swift
public var needChangePassword: Bool? -
Undocumented
Declaration
Swift
public init() -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
LoginResponse Structure Reference