Token

public class Token : BoxModel

Embed link token

BoxModel

  • Declaration

    Swift

    public private(set) var rawData: [String : Any] { get }

Properties

  • Access token.

    Declaration

    Swift

    public let accessToken: String?
  • Expiration time interval since

    Declaration

    Swift

    public let expiresIn: Int?
  • Type of token

    Declaration

    Swift

    public let tokenType: String?
  • Token permissions

    Declaration

    Swift

    public let restrictedTo: [Scope]?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

    public required init(json: [String : Any]) throws

    Parameters

    json

    JSON dictionary.