Documentation ¶
Index ¶
- type CreateOAuth2PermissionGrantOperationOptions
- type CreateOAuth2PermissionGrantOperationResponse
- type DeleteOAuth2PermissionGrantOperationOptions
- type DeleteOAuth2PermissionGrantOperationResponse
- type GetOAuth2PermissionGrantOperationOptions
- type GetOAuth2PermissionGrantOperationResponse
- type GetsCountOperationOptions
- type GetsCountOperationResponse
- type ListOAuth2PermissionGrantsCompleteResult
- type ListOAuth2PermissionGrantsCustomPager
- type ListOAuth2PermissionGrantsOperationOptions
- type ListOAuth2PermissionGrantsOperationResponse
- type OAuth2PermissionGrantClient
- func (c OAuth2PermissionGrantClient) CreateOAuth2PermissionGrant(ctx context.Context, input beta.OAuth2PermissionGrant, ...) (result CreateOAuth2PermissionGrantOperationResponse, err error)
- func (c OAuth2PermissionGrantClient) DeleteOAuth2PermissionGrant(ctx context.Context, id beta.OAuth2PermissionGrantId, ...) (result DeleteOAuth2PermissionGrantOperationResponse, err error)
- func (c OAuth2PermissionGrantClient) GetOAuth2PermissionGrant(ctx context.Context, id beta.OAuth2PermissionGrantId, ...) (result GetOAuth2PermissionGrantOperationResponse, err error)
- func (c OAuth2PermissionGrantClient) GetsCount(ctx context.Context, options GetsCountOperationOptions) (result GetsCountOperationResponse, err error)
- func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrants(ctx context.Context, options ListOAuth2PermissionGrantsOperationOptions) (result ListOAuth2PermissionGrantsOperationResponse, err error)
- func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsComplete(ctx context.Context, options ListOAuth2PermissionGrantsOperationOptions) (ListOAuth2PermissionGrantsCompleteResult, error)
- func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsCompleteMatchingPredicate(ctx context.Context, options ListOAuth2PermissionGrantsOperationOptions, ...) (result ListOAuth2PermissionGrantsCompleteResult, err error)
- func (c OAuth2PermissionGrantClient) UpdateOAuth2PermissionGrant(ctx context.Context, id beta.OAuth2PermissionGrantId, ...) (result UpdateOAuth2PermissionGrantOperationResponse, err error)
- type OAuth2PermissionGrantOperationPredicate
- type UpdateOAuth2PermissionGrantOperationOptions
- type UpdateOAuth2PermissionGrantOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOAuth2PermissionGrantOperationOptions ¶
type CreateOAuth2PermissionGrantOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateOAuth2PermissionGrantOperationOptions ¶
func DefaultCreateOAuth2PermissionGrantOperationOptions() CreateOAuth2PermissionGrantOperationOptions
func (CreateOAuth2PermissionGrantOperationOptions) ToHeaders ¶
func (o CreateOAuth2PermissionGrantOperationOptions) ToHeaders() *client.Headers
func (CreateOAuth2PermissionGrantOperationOptions) ToOData ¶
func (o CreateOAuth2PermissionGrantOperationOptions) ToOData() *odata.Query
func (CreateOAuth2PermissionGrantOperationOptions) ToQuery ¶
func (o CreateOAuth2PermissionGrantOperationOptions) ToQuery() *client.QueryParams
type DeleteOAuth2PermissionGrantOperationOptions ¶
type DeleteOAuth2PermissionGrantOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteOAuth2PermissionGrantOperationOptions ¶
func DefaultDeleteOAuth2PermissionGrantOperationOptions() DeleteOAuth2PermissionGrantOperationOptions
func (DeleteOAuth2PermissionGrantOperationOptions) ToHeaders ¶
func (o DeleteOAuth2PermissionGrantOperationOptions) ToHeaders() *client.Headers
func (DeleteOAuth2PermissionGrantOperationOptions) ToOData ¶
func (o DeleteOAuth2PermissionGrantOperationOptions) ToOData() *odata.Query
func (DeleteOAuth2PermissionGrantOperationOptions) ToQuery ¶
func (o DeleteOAuth2PermissionGrantOperationOptions) ToQuery() *client.QueryParams
type GetOAuth2PermissionGrantOperationOptions ¶
type GetOAuth2PermissionGrantOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetOAuth2PermissionGrantOperationOptions ¶
func DefaultGetOAuth2PermissionGrantOperationOptions() GetOAuth2PermissionGrantOperationOptions
func (GetOAuth2PermissionGrantOperationOptions) ToHeaders ¶
func (o GetOAuth2PermissionGrantOperationOptions) ToHeaders() *client.Headers
func (GetOAuth2PermissionGrantOperationOptions) ToOData ¶
func (o GetOAuth2PermissionGrantOperationOptions) ToOData() *odata.Query
func (GetOAuth2PermissionGrantOperationOptions) ToQuery ¶
func (o GetOAuth2PermissionGrantOperationOptions) ToQuery() *client.QueryParams
type GetsCountOperationOptions ¶
type GetsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetsCountOperationOptions ¶
func DefaultGetsCountOperationOptions() GetsCountOperationOptions
func (GetsCountOperationOptions) ToHeaders ¶
func (o GetsCountOperationOptions) ToHeaders() *client.Headers
func (GetsCountOperationOptions) ToOData ¶
func (o GetsCountOperationOptions) ToOData() *odata.Query
func (GetsCountOperationOptions) ToQuery ¶
func (o GetsCountOperationOptions) ToQuery() *client.QueryParams
type ListOAuth2PermissionGrantsCompleteResult ¶
type ListOAuth2PermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.OAuth2PermissionGrant }
type ListOAuth2PermissionGrantsCustomPager ¶
func (*ListOAuth2PermissionGrantsCustomPager) NextPageLink ¶
func (p *ListOAuth2PermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListOAuth2PermissionGrantsOperationOptions ¶
type ListOAuth2PermissionGrantsOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListOAuth2PermissionGrantsOperationOptions ¶
func DefaultListOAuth2PermissionGrantsOperationOptions() ListOAuth2PermissionGrantsOperationOptions
func (ListOAuth2PermissionGrantsOperationOptions) ToHeaders ¶
func (o ListOAuth2PermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListOAuth2PermissionGrantsOperationOptions) ToOData ¶
func (o ListOAuth2PermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListOAuth2PermissionGrantsOperationOptions) ToQuery ¶
func (o ListOAuth2PermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type OAuth2PermissionGrantClient ¶
func NewOAuth2PermissionGrantClientWithBaseURI ¶
func NewOAuth2PermissionGrantClientWithBaseURI(sdkApi sdkEnv.Api) (*OAuth2PermissionGrantClient, error)
func (OAuth2PermissionGrantClient) CreateOAuth2PermissionGrant ¶
func (c OAuth2PermissionGrantClient) CreateOAuth2PermissionGrant(ctx context.Context, input beta.OAuth2PermissionGrant, options CreateOAuth2PermissionGrantOperationOptions) (result CreateOAuth2PermissionGrantOperationResponse, err error)
CreateOAuth2PermissionGrant - Create oAuth2PermissionGrant (a delegated permission grant). Create a delegated permission grant, represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted.
func (OAuth2PermissionGrantClient) DeleteOAuth2PermissionGrant ¶
func (c OAuth2PermissionGrantClient) DeleteOAuth2PermissionGrant(ctx context.Context, id beta.OAuth2PermissionGrantId, options DeleteOAuth2PermissionGrantOperationOptions) (result DeleteOAuth2PermissionGrantOperationResponse, err error)
DeleteOAuth2PermissionGrant - Delete oAuth2PermissionGrant (a delegated permission grant). Delete an oAuth2PermissionGrant, representing a delegated permission grant. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant.
func (OAuth2PermissionGrantClient) GetOAuth2PermissionGrant ¶
func (c OAuth2PermissionGrantClient) GetOAuth2PermissionGrant(ctx context.Context, id beta.OAuth2PermissionGrantId, options GetOAuth2PermissionGrantOperationOptions) (result GetOAuth2PermissionGrantOperationResponse, err error)
GetOAuth2PermissionGrant - Get oAuth2PermissionGrant (a delegated permission grant). Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user.
func (OAuth2PermissionGrantClient) GetsCount ¶
func (c OAuth2PermissionGrantClient) GetsCount(ctx context.Context, options GetsCountOperationOptions) (result GetsCountOperationResponse, err error)
GetsCount - Get the number of the resource
func (OAuth2PermissionGrantClient) ListOAuth2PermissionGrants ¶
func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrants(ctx context.Context, options ListOAuth2PermissionGrantsOperationOptions) (result ListOAuth2PermissionGrantsOperationResponse, err error)
ListOAuth2PermissionGrants - List oauth2PermissionGrants (delegated permission grants). Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users.
func (OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsComplete ¶
func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsComplete(ctx context.Context, options ListOAuth2PermissionGrantsOperationOptions) (ListOAuth2PermissionGrantsCompleteResult, error)
ListOAuth2PermissionGrantsComplete retrieves all the results into a single object
func (OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsCompleteMatchingPredicate ¶
func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsCompleteMatchingPredicate(ctx context.Context, options ListOAuth2PermissionGrantsOperationOptions, predicate OAuth2PermissionGrantOperationPredicate) (result ListOAuth2PermissionGrantsCompleteResult, err error)
ListOAuth2PermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OAuth2PermissionGrantClient) UpdateOAuth2PermissionGrant ¶
func (c OAuth2PermissionGrantClient) UpdateOAuth2PermissionGrant(ctx context.Context, id beta.OAuth2PermissionGrantId, input beta.OAuth2PermissionGrant, options UpdateOAuth2PermissionGrantOperationOptions) (result UpdateOAuth2PermissionGrantOperationResponse, err error)
UpdateOAuth2PermissionGrant - Update oAuth2PermissionGrant (a delegated permission grant). Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes.
type OAuth2PermissionGrantOperationPredicate ¶
type OAuth2PermissionGrantOperationPredicate struct { }
func (OAuth2PermissionGrantOperationPredicate) Matches ¶
func (p OAuth2PermissionGrantOperationPredicate) Matches(input beta.OAuth2PermissionGrant) bool
type UpdateOAuth2PermissionGrantOperationOptions ¶
type UpdateOAuth2PermissionGrantOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateOAuth2PermissionGrantOperationOptions ¶
func DefaultUpdateOAuth2PermissionGrantOperationOptions() UpdateOAuth2PermissionGrantOperationOptions
func (UpdateOAuth2PermissionGrantOperationOptions) ToHeaders ¶
func (o UpdateOAuth2PermissionGrantOperationOptions) ToHeaders() *client.Headers
func (UpdateOAuth2PermissionGrantOperationOptions) ToOData ¶
func (o UpdateOAuth2PermissionGrantOperationOptions) ToOData() *odata.Query
func (UpdateOAuth2PermissionGrantOperationOptions) ToQuery ¶
func (o UpdateOAuth2PermissionGrantOperationOptions) ToQuery() *client.QueryParams