KKAccessToken

public struct KKAccessToken : Codable

An access token. It is required for making API calls.

  • The access token string.

    Declaration

    Swift

    public private(set) var accessToken: String
  • When will the access token expires since now.

    Declaration

    Swift

    public private(set) var expiresIn: TimeInterval
  • Type of the access token.

    Declaration

    Swift

    public private(set) var tokenType: String?
  • Scope of the access token.

    Declaration

    Swift

    public private(set) var scope: KKScope?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws