Documentation
¶
Index ¶
- type Client
- func (c *Client) Delete(ctx context.Context, id string, opts ...option.RequestOption) error
- func (c *Client) DeleteByIdentifier(ctx context.Context, ...) error
- func (c *Client) List(ctx context.Context, id string, ...) (*management.ListUserBlocksResponseContent, error)
- func (c *Client) ListByIdentifier(ctx context.Context, ...) (*management.ListUserBlocksByIdentifierResponseContent, error)
- type RawClient
- func (r *RawClient) Delete(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[any], error)
- func (r *RawClient) DeleteByIdentifier(ctx context.Context, ...) (*core.Response[any], error)
- func (r *RawClient) List(ctx context.Context, id string, ...) (*core.Response[*management.ListUserBlocksResponseContent], error)
- func (r *RawClient) ListByIdentifier(ctx context.Context, ...) (*core.Response[*management.ListUserBlocksByIdentifierResponseContent], error)
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) Delete ¶
Remove all <a href="https://auth0.com/docs/secure/attack-protection/brute-force-protection">Brute-force Protection</a> blocks for the user with the given ID.
Note: This endpoint does not unblock users that were <a href="https://auth0.com/docs/user-profile#block-and-unblock-a-user">blocked by a tenant administrator</a>.
func (*Client) DeleteByIdentifier ¶
func (c *Client) DeleteByIdentifier( ctx context.Context, request *management.DeleteUserBlocksByIdentifierRequestParameters, opts ...option.RequestOption, ) error
Remove all <a href="https://auth0.com/docs/secure/attack-protection/brute-force-protection">Brute-force Protection</a> blocks for the user with the given identifier (username, phone number, or email).
Note: This endpoint does not unblock users that were <a href="https://auth0.com/docs/user-profile#block-and-unblock-a-user">blocked by a tenant administrator</a>.
func (*Client) List ¶
func (c *Client) List( ctx context.Context, id string, request *management.ListUserBlocksRequestParameters, opts ...option.RequestOption, ) (*management.ListUserBlocksResponseContent, error)
Retrieve details of all <a href="https://auth0.com/docs/secure/attack-protection/brute-force-protection">Brute-force Protection</a> blocks for the user with the given ID.
func (*Client) ListByIdentifier ¶
func (c *Client) ListByIdentifier( ctx context.Context, request *management.ListUserBlocksByIdentifierRequestParameters, opts ...option.RequestOption, ) (*management.ListUserBlocksByIdentifierResponseContent, error)
Retrieve details of all <a href="https://auth0.com/docs/secure/attack-protection/brute-force-protection">Brute-force Protection</a> blocks for a user with the given identifier (username, phone number, or email).
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) DeleteByIdentifier ¶
func (r *RawClient) DeleteByIdentifier( ctx context.Context, request *management.DeleteUserBlocksByIdentifierRequestParameters, opts ...option.RequestOption, ) (*core.Response[any], error)
func (*RawClient) List ¶
func (r *RawClient) List( ctx context.Context, id string, request *management.ListUserBlocksRequestParameters, opts ...option.RequestOption, ) (*core.Response[*management.ListUserBlocksResponseContent], error)
func (*RawClient) ListByIdentifier ¶
func (r *RawClient) ListByIdentifier( ctx context.Context, request *management.ListUserBlocksByIdentifierRequestParameters, opts ...option.RequestOption, ) (*core.Response[*management.ListUserBlocksByIdentifierResponseContent], error)