Documentation
¶
Index ¶
- type Client
- func (c *Client) CreatePublicKey(ctx context.Context, ...) (*management.CreatePublicKeyDeviceCredentialResponseContent, error)
- func (c *Client) Delete(ctx context.Context, id string, opts ...option.RequestOption) error
- func (c *Client) List(ctx context.Context, ...) (*core.Page[*management.DeviceCredential], error)
- type RawClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WithRawResponse *RawClient
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *core.RequestOptions) *Client
func (*Client) CreatePublicKey ¶
func (c *Client) CreatePublicKey( ctx context.Context, request *management.CreatePublicKeyDeviceCredentialRequestContent, opts ...option.RequestOption, ) (*management.CreatePublicKeyDeviceCredentialResponseContent, error)
Create a device credential public key to manage refresh token rotation for a given <code>user_id</code>. Device Credentials APIs are designed for ad-hoc administrative use only and paging is by default enabled for GET requests.
When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read <a href="https://auth0.com/docs/get-started/tenant-settings/signing-keys"> Signing Keys</a>.
func (*Client) Delete ¶
Permanently delete a device credential (such as a refresh token or public key) with the given ID.
func (*Client) List ¶
func (c *Client) List( ctx context.Context, request *management.ListDeviceCredentialsRequestParameters, opts ...option.RequestOption, ) (*core.Page[*management.DeviceCredential], error)
Retrieve device credential information (<code>public_key</code>, <code>refresh_token</code>, or <code>rotating_refresh_token</code>) associated with a specific user.
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) CreatePublicKey ¶
func (r *RawClient) CreatePublicKey( ctx context.Context, request *management.CreatePublicKeyDeviceCredentialRequestContent, opts ...option.RequestOption, ) (*core.Response[*management.CreatePublicKeyDeviceCredentialResponseContent], error)