Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, ...) (*management.CreateTokenExchangeProfileResponseContent, error)
- func (c *Client) Delete(ctx context.Context, id string, opts ...option.RequestOption) error
- func (c *Client) Get(ctx context.Context, id string, opts ...option.RequestOption) (*management.GetTokenExchangeProfileResponseContent, error)
- func (c *Client) List(ctx context.Context, request *management.TokenExchangeProfilesListRequest, ...) (*core.Page[*management.TokenExchangeProfileResponseContent], error)
- func (c *Client) Update(ctx context.Context, id string, ...) error
- type RawClient
- func (r *RawClient) Create(ctx context.Context, ...) (*core.Response[*management.CreateTokenExchangeProfileResponseContent], error)
- func (r *RawClient) Delete(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[any], error)
- func (r *RawClient) Get(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[*management.GetTokenExchangeProfileResponseContent], error)
- func (r *RawClient) Update(ctx context.Context, id string, ...) (*core.Response[any], 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) Create ¶
func (c *Client) Create( ctx context.Context, request *management.CreateTokenExchangeProfileRequestContent, opts ...option.RequestOption, ) (*management.CreateTokenExchangeProfileResponseContent, error)
Create a new Token Exchange Profile within your tenant.
func (*Client) Get ¶
func (c *Client) Get( ctx context.Context, id string, opts ...option.RequestOption, ) (*management.GetTokenExchangeProfileResponseContent, error)
Retrieve details about a single Token Exchange Profile specified by ID.
func (*Client) List ¶
func (c *Client) List( ctx context.Context, request *management.TokenExchangeProfilesListRequest, opts ...option.RequestOption, ) (*core.Page[*management.TokenExchangeProfileResponseContent], error)
Retrieve a list of all Token Exchange Profiles available in your tenant.
This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters: <ul> <li><code>from</code>: Optional id from which to start selection.</li> <li><code>take</code>: The total amount of entries to retrieve when using the from parameter. Defaults to 50.</li> </ul>
<b>Note</b>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.
func (*Client) Update ¶
func (c *Client) Update( ctx context.Context, id string, request *management.UpdateTokenExchangeProfileRequestContent, opts ...option.RequestOption, ) error
Update a Token Exchange Profile within your tenant.
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) Create ¶
func (r *RawClient) Create( ctx context.Context, request *management.CreateTokenExchangeProfileRequestContent, opts ...option.RequestOption, ) (*core.Response[*management.CreateTokenExchangeProfileResponseContent], error)
func (*RawClient) Get ¶
func (r *RawClient) Get( ctx context.Context, id string, opts ...option.RequestOption, ) (*core.Response[*management.GetTokenExchangeProfileResponseContent], error)
func (*RawClient) Update ¶
func (r *RawClient) Update( ctx context.Context, id string, request *management.UpdateTokenExchangeProfileRequestContent, opts ...option.RequestOption, ) (*core.Response[any], error)