Documentation
¶
Overview ¶
Package personalaccesstoken provides functionality for managing personal access tokens
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a client for managing personal access tokens
type RequestBody ¶
type RequestBody struct { KeyID string `json:"key_id,omitempty"` UserID int64 `json:"user_id,omitempty"` Name string `json:"name"` Scopes []string `json:"scopes"` ExpiresAt string `json:"expires_at,omitempty"` }
RequestBody represents the request body for creating a personal access token
Click to show internal directories.
Click to hide internal directories.