Documentation ¶
Index ¶
- type GetOAuth2PermissionGrantOperationOptions
- type GetOAuth2PermissionGrantOperationResponse
- type GetOAuth2PermissionGrantsCountOperationOptions
- type GetOAuth2PermissionGrantsCountOperationResponse
- type ListOAuth2PermissionGrantsCompleteResult
- type ListOAuth2PermissionGrantsCustomPager
- type ListOAuth2PermissionGrantsOperationOptions
- type ListOAuth2PermissionGrantsOperationResponse
- type OAuth2PermissionGrantClient
- func (c OAuth2PermissionGrantClient) GetOAuth2PermissionGrant(ctx context.Context, id stable.ServicePrincipalIdOAuth2PermissionGrantId, ...) (result GetOAuth2PermissionGrantOperationResponse, err error)
- func (c OAuth2PermissionGrantClient) GetOAuth2PermissionGrantsCount(ctx context.Context, id stable.ServicePrincipalId, ...) (result GetOAuth2PermissionGrantsCountOperationResponse, err error)
- func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrants(ctx context.Context, id stable.ServicePrincipalId, ...) (result ListOAuth2PermissionGrantsOperationResponse, err error)
- func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsComplete(ctx context.Context, id stable.ServicePrincipalId, ...) (ListOAuth2PermissionGrantsCompleteResult, error)
- func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsCompleteMatchingPredicate(ctx context.Context, id stable.ServicePrincipalId, ...) (result ListOAuth2PermissionGrantsCompleteResult, err error)
- type OAuth2PermissionGrantOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 GetOAuth2PermissionGrantsCountOperationOptions ¶
type GetOAuth2PermissionGrantsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetOAuth2PermissionGrantsCountOperationOptions ¶
func DefaultGetOAuth2PermissionGrantsCountOperationOptions() GetOAuth2PermissionGrantsCountOperationOptions
func (GetOAuth2PermissionGrantsCountOperationOptions) ToHeaders ¶
func (o GetOAuth2PermissionGrantsCountOperationOptions) ToHeaders() *client.Headers
func (GetOAuth2PermissionGrantsCountOperationOptions) ToOData ¶
func (o GetOAuth2PermissionGrantsCountOperationOptions) ToOData() *odata.Query
func (GetOAuth2PermissionGrantsCountOperationOptions) ToQuery ¶
func (o GetOAuth2PermissionGrantsCountOperationOptions) ToQuery() *client.QueryParams
type ListOAuth2PermissionGrantsCompleteResult ¶
type ListOAuth2PermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.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) GetOAuth2PermissionGrant ¶
func (c OAuth2PermissionGrantClient) GetOAuth2PermissionGrant(ctx context.Context, id stable.ServicePrincipalIdOAuth2PermissionGrantId, options GetOAuth2PermissionGrantOperationOptions) (result GetOAuth2PermissionGrantOperationResponse, err error)
GetOAuth2PermissionGrant - Get oauth2PermissionGrants from servicePrincipals. Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable.
func (OAuth2PermissionGrantClient) GetOAuth2PermissionGrantsCount ¶
func (c OAuth2PermissionGrantClient) GetOAuth2PermissionGrantsCount(ctx context.Context, id stable.ServicePrincipalId, options GetOAuth2PermissionGrantsCountOperationOptions) (result GetOAuth2PermissionGrantsCountOperationResponse, err error)
GetOAuth2PermissionGrantsCount - Get the number of the resource
func (OAuth2PermissionGrantClient) ListOAuth2PermissionGrants ¶
func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrants(ctx context.Context, id stable.ServicePrincipalId, options ListOAuth2PermissionGrantsOperationOptions) (result ListOAuth2PermissionGrantsOperationResponse, err error)
ListOAuth2PermissionGrants - List oauth2PermissionGrants granted to a service principal. Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user.
func (OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsComplete ¶
func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsComplete(ctx context.Context, id stable.ServicePrincipalId, options ListOAuth2PermissionGrantsOperationOptions) (ListOAuth2PermissionGrantsCompleteResult, error)
ListOAuth2PermissionGrantsComplete retrieves all the results into a single object
func (OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsCompleteMatchingPredicate ¶
func (c OAuth2PermissionGrantClient) ListOAuth2PermissionGrantsCompleteMatchingPredicate(ctx context.Context, id stable.ServicePrincipalId, options ListOAuth2PermissionGrantsOperationOptions, predicate OAuth2PermissionGrantOperationPredicate) (result ListOAuth2PermissionGrantsCompleteResult, err error)
ListOAuth2PermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
type OAuth2PermissionGrantOperationPredicate ¶
type OAuth2PermissionGrantOperationPredicate struct { }
func (OAuth2PermissionGrantOperationPredicate) Matches ¶
func (p OAuth2PermissionGrantOperationPredicate) Matches(input stable.OAuth2PermissionGrant) bool