Documentation ¶
Overview ¶
Package twofactorrecover provides functionality for interacting with GitLab Two-Factor Authentication recovery codes
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 interacting with GitLab Two-Factor Authentication recovery codes
func (*Client) GetRecoveryCodes ¶
GetRecoveryCodes retrieves the recovery codes for the specified user
type RequestBody ¶
type RequestBody struct { KeyID string `json:"key_id,omitempty"` UserID int64 `json:"user_id,omitempty"` }
RequestBody represents the request body structure for Two-Factor Authentication recovery code requests
Click to show internal directories.
Click to hide internal directories.