Authorization
public struct Authorization : Codable
-
Declaration
Swift
public enum Status : String, Codable, CaseIterable -
Status of the token. If `inactive`, requests using the token will be rejected.
Declaration
Swift
public var status: Status? -
A description of the token.
Declaration
Swift
public var description: String? -
Declaration
Swift
public var createdAt: Date? -
Declaration
Swift
public var updatedAt: Date? -
ID of the organization that the authorization is scoped to.
Declaration
Swift
public var orgID: String -
List of permissions for an authorization. An authorization must have at least one permission.
Declaration
Swift
public var permissions: [Permission] -
Declaration
Swift
public var id: String? -
Token used to authenticate API requests.
Declaration
Swift
public var token: String? -
ID of the user that created and owns the token.
Declaration
Swift
public var userID: String? -
Name of the user that created and owns the token.
Declaration
Swift
public var user: String? -
Name of the organization that the token is scoped to.
Declaration
Swift
public var org: String? -
Declaration
Swift
public var links: AuthorizationAllOfLinks? -
Declaration
Swift
public init(status: Status? = .active, description: String? = nil, createdAt: Date? = nil, updatedAt: Date? = nil, orgID: String, permissions: [Permission], id: String? = nil, token: String? = nil, userID: String? = nil, user: String? = nil, org: String? = nil, links: AuthorizationAllOfLinks? = nil)
View on GitHub
Authorization Structure Reference