Scope

public class Scope : BoxModel

Permission scope for a token.

BoxModel

  • Declaration

    Swift

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

Properties

  • Scope permission

    Declaration

    Swift

    public let scope: String?
  • The file scope is applied to

    Declaration

    Swift

    public let object: File?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

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

    Parameters

    json

    JSON dictionary.