Documentation ¶
Overview ¶
Package userauthadmin contains the logic required to manage a user's authentication settings, such as API keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKey ¶
func GetKey(params GetKeyParams) (*models.APIKeyResponse, error)
GetKey returns the API key details for the specified key and user id.
func ListKeys ¶
func ListKeys(params ListKeysParams) (*models.APIKeysResponse, error)
ListKeys returns the API keys for either the specified user or all the platform users
Types ¶
type DeleteKeyParams ¶
DeleteKeyParams is consumed by DeleteKey
func (DeleteKeyParams) Validate ¶
func (params DeleteKeyParams) Validate() error
Validate ensures the parameters are usable by the consuming function.
type GetKeyParams ¶
GetKeyParams is consumed by GetKey
func (GetKeyParams) Validate ¶
func (params GetKeyParams) Validate() error
Validate ensures the parameters are usable by the consuming function.
type ListKeysParams ¶
ListKeysParams is consumed by ListKeys
func (ListKeysParams) Validate ¶
func (params ListKeysParams) Validate() error
Validate ensures the parameters are usable by the consuming function.
Click to show internal directories.
Click to hide internal directories.