MCPcopy Create free account
hub / github.com/auth0/auth0-cli / Blocks

Method Blocks

internal/auth0/user.go:13–13  ·  view source on GitHub ↗

Blocks retrieves a list of blocked IP addresses of a particular user.

(ctx context.Context, id string, opts ...management.RequestOption)

Source from the content-addressed store, hash-verified

11type UserAPI interface {
12 // Blocks retrieves a list of blocked IP addresses of a particular user.
13 Blocks(ctx context.Context, id string, opts ...management.RequestOption) ([]*management.UserBlock, error)
14
15 // BlocksByIdentifier retrieves a list of blocked IP addresses of a particular user using any of the user identifiers: username, phone number or email.
16 BlocksByIdentifier(ctx context.Context, identifier string, opts ...management.RequestOption) ([]*management.UserBlock, error)

Callers 1

listUserBlocksCmdFunction · 0.65

Implementers 2

MockUserAPIinternal/auth0/mock/user_mock.go
MockUserAPIMockRecorderinternal/auth0/mock/user_mock.go

Calls

no outgoing calls

Tested by

no test coverage detected