Documentation ¶
Index ¶
- type API
- type APIApplication
- type ApplicationAuthorization
- type AuthorizeApplicationsParams
- type AuthorizeApplicationsResponse
- type Client
- func (c *Client) AuthorizeApplications(ctx context.Context, id string, params AuthorizeApplicationsParams) error
- func (c *Client) Create(ctx context.Context, params CreateParams) (*API, error)
- func (c *Client) Delete(ctx context.Context, id string) error
- func (c *Client) Get(ctx context.Context, id string) (*API, error)
- func (c *Client) List(ctx context.Context) ([]API, error)
- type CreateParams
- type CreateResponse
- type DeleteResponse
- type GetResponse
- type ListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { ID string `json:"id"` Name string `json:"name"` Audience string `json:"audience"` IsManagementAPI bool `json:"is_management_api"` Applications []APIApplication `json:"applications,omitempty"` }
type APIApplication ¶
type AuthorizeApplicationsParams ¶
type AuthorizeApplicationsParams struct {
Applications []ApplicationAuthorization `json:"applications"`
}
type Client ¶
func (*Client) AuthorizeApplications ¶
type CreateParams ¶
type CreateResponse ¶
type DeleteResponse ¶
type GetResponse ¶
type GetResponse CreateResponse
Click to show internal directories.
Click to hide internal directories.