IamTokenResponse

public struct IamTokenResponse : Codable
  • Access Token to be used on Ecospend calls.

    Declaration

    Swift

    public let accessToken: String?
  • Expiration time in seconds.

    • Default: 3600

    Declaration

    Swift

    public let expiresIn: Int?
  • Type of token provided.

    Declaration

    Swift

    public let tokenType: String?
  • Scope of the access granted.

    Declaration

    Swift

    public let scope: String?
  • Declaration

    Swift

    public init(accessToken: String?,
                expiresIn: Int?,
                tokenType: String?,
                scope: String?)