Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, options *tokens.CreateOptions) (string, error)
- func (c *Client) Exchange(ctx context.Context, id string, nonce string) (string, error)
- func (c *Client) List(ctx context.Context) ([]tokens.Token, error)
- func (c *Client) Read(ctx context.Context, id string) (tokens.Token, error)
- func (c *Client) Refresh(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { identity.TokenProvisionerClient identity.TokenManagementClient }
func NewClient ¶
func NewClient(conn grpc.ClientConnInterface) *Client
Click to show internal directories.
Click to hide internal directories.