Table of Contents

Class ScopesRequestBuilder

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Scopes
Assembly
Keycloak.AuthServices.Sdk.Kiota.dll

Builds and executes requests for operations under \admin\realms{realm}\clients{client-uuid}\authz\resource-server\resource{resource-id}\scopes

public class ScopesRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
ScopesRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.UrlTemplate

Constructors

ScopesRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new ScopesRequestBuilder and sets the default values.

public ScopesRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)

Parameters

pathParameters Dictionary<string, object>

Path parameters for the request

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

ScopesRequestBuilder(string, IRequestAdapter)

Instantiates a new ScopesRequestBuilder and sets the default values.

public ScopesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)

Parameters

rawUrl string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

Methods

GetAsync(Action<RequestConfiguration<ScopesRequestBuilderGetQueryParameters>>?, CancellationToken)

public Task<List<ScopeRepresentation>?> GetAsync(Action<RequestConfiguration<ScopesRequestBuilder.ScopesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<ScopesRequestBuilder.ScopesRequestBuilderGetQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<List<ScopeRepresentation>>

A List<ScopeRepresentation>

ToGetRequestInformation(Action<RequestConfiguration<ScopesRequestBuilderGetQueryParameters>>?)

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<ScopesRequestBuilder.ScopesRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<ScopesRequestBuilder.ScopesRequestBuilderGetQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

WithUrl(string)

Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.

public ScopesRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

ScopesRequestBuilder

A ScopesRequestBuilder