Class WithRealmItemRequestBuilder
- Assembly
- Keycloak.AuthServices.Sdk.Kiota.dll
Builds and executes requests for operations under \admin\realms{realm}
public class WithRealmItemRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderWithRealmItemRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
WithRealmItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new WithRealmItemRequestBuilder and sets the default values.
public WithRealmItemRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)
Parameters
pathParameters
Dictionary<string, object>Path parameters for the request
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
WithRealmItemRequestBuilder(string, IRequestAdapter)
Instantiates a new WithRealmItemRequestBuilder and sets the default values.
public WithRealmItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
Parameters
rawUrl
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
Properties
AdminEvents
The adminEvents property
public AdminEventsRequestBuilder AdminEvents { get; }
Property Value
AttackDetection
The attackDetection property
public AttackDetectionRequestBuilder AttackDetection { get; }
Property Value
Authentication
The authentication property
public AuthenticationRequestBuilder Authentication { get; }
Property Value
ClientDescriptionConverter
The clientDescriptionConverter property
public ClientDescriptionConverterRequestBuilder ClientDescriptionConverter { get; }
Property Value
ClientPolicies
The clientPolicies property
public ClientPoliciesRequestBuilder ClientPolicies { get; }
Property Value
ClientRegistrationPolicy
The clientRegistrationPolicy property
public ClientRegistrationPolicyRequestBuilder ClientRegistrationPolicy { get; }
Property Value
ClientScopes
The clientScopes property
public ClientScopesRequestBuilder ClientScopes { get; }
Property Value
ClientSessionStats
The clientSessionStats property
public ClientSessionStatsRequestBuilder ClientSessionStats { get; }
Property Value
ClientTemplates
The clientTemplates property
public ClientTemplatesRequestBuilder ClientTemplates { get; }
Property Value
Clients
The clients property
public ClientsRequestBuilder Clients { get; }
Property Value
ClientsInitialAccess
The clientsInitialAccess property
public ClientsInitialAccessRequestBuilder ClientsInitialAccess { get; }
Property Value
Components
The components property
public ComponentsRequestBuilder Components { get; }
Property Value
CredentialRegistrators
The credentialRegistrators property
public CredentialRegistratorsRequestBuilder CredentialRegistrators { get; }
Property Value
DefaultDefaultClientScopes
The defaultDefaultClientScopes property
public DefaultDefaultClientScopesRequestBuilder DefaultDefaultClientScopes { get; }
Property Value
DefaultGroups
The defaultGroups property
public DefaultGroupsRequestBuilder DefaultGroups { get; }
Property Value
DefaultOptionalClientScopes
The defaultOptionalClientScopes property
public DefaultOptionalClientScopesRequestBuilder DefaultOptionalClientScopes { get; }
Property Value
Events
The events property
public EventsRequestBuilder Events { get; }
Property Value
GroupByPath
The groupByPath property
public GroupByPathRequestBuilder GroupByPath { get; }
Property Value
Groups
The groups property
public GroupsRequestBuilder Groups { get; }
Property Value
IdentityProvider
The identityProvider property
public IdentityProviderRequestBuilder IdentityProvider { get; }
Property Value
Keys
The keys property
public KeysRequestBuilder Keys { get; }
Property Value
Localization
The localization property
public LocalizationRequestBuilder Localization { get; }
Property Value
LogoutAll
The logoutAll property
public LogoutAllRequestBuilder LogoutAll { get; }
Property Value
PartialExport
The partialExport property
public PartialExportRequestBuilder PartialExport { get; }
Property Value
PartialImport
The partialImport property
public PartialImportRequestBuilder PartialImport { get; }
Property Value
PushRevocation
The pushRevocation property
public PushRevocationRequestBuilder PushRevocation { get; }
Property Value
Roles
The roles property
public RolesRequestBuilder Roles { get; }
Property Value
RolesById
The rolesById property
public RolesByIdRequestBuilder RolesById { get; }
Property Value
Sessions
The sessions property
public SessionsRequestBuilder Sessions { get; }
Property Value
TestSMTPConnection
The testSMTPConnection property
public TestSMTPConnectionRequestBuilder TestSMTPConnection { get; }
Property Value
Users
The users property
public UsersRequestBuilder Users { get; }
Property Value
UsersManagementPermissions
The usersManagementPermissions property
public UsersManagementPermissionsRequestBuilder UsersManagementPermissions { get; }
Property Value
Methods
DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Delete the realm
public Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Get the top-level representation of the realm It will not include nested information like User and Client representations.
public Task<RealmRepresentation?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
PutAsync(RealmRepresentation, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
This will only update top-level attributes of the realm.
public Task<Stream?> PutAsync(RealmRepresentation body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
body
RealmRepresentationThe request body
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
ToDeleteRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)
Delete the realm
public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
Returns
- RequestInformation
A Microsoft.Kiota.Abstractions.RequestInformation
ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)
Get the top-level representation of the realm It will not include nested information like User and Client representations.
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
Returns
- RequestInformation
A Microsoft.Kiota.Abstractions.RequestInformation
ToPutRequestInformation(RealmRepresentation, Action<RequestConfiguration<DefaultQueryParameters>>?)
This will only update top-level attributes of the realm.
public RequestInformation ToPutRequestInformation(RealmRepresentation body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
body
RealmRepresentationThe request body
requestConfiguration
Action<RequestConfiguration<DefaultQueryParameters>>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 WithRealmItemRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.