Package org.azd.security.identities
Class IdentitiesRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.security.identities.IdentitiesRequestBuilder
Identities API to find the legacy identity descriptors for users and groups.
Identities can be searched for by name, email, id, identity descriptor, and subject descriptor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the query parameters.static class
Request configuration object for the query parameters.Nested classes/interfaces inherited from class org.azd.abstractions.BaseRequestBuilder
BaseRequestBuilder.ProjectExcludeParameter
-
Field Summary
Fields inherited from class org.azd.abstractions.BaseRequestBuilder
accessTokenCredential, apiVersion, area, locationId, organizationUrl, serializer
-
Constructor Summary
ConstructorDescriptionIdentitiesRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionread
(Consumer<IdentitiesRequestBuilder.RequestConfiguration> requestConfiguration) Resolve legacy identity information for use with older APIs such as the Security APIsreadAsync
(Consumer<IdentitiesRequestBuilder.RequestConfiguration> requestConfiguration) Resolve legacy identity information for use with older APIs such as the Security APIsMethods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
IdentitiesRequestBuilder
public IdentitiesRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values.- Parameters:
organizationUrl
- Represents organization location request url.accessTokenCredential
- Access token credential object.
-
-
Method Details
-
readAsync
public CompletableFuture<Identities> readAsync(Consumer<IdentitiesRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Resolve legacy identity information for use with older APIs such as the Security APIs- Parameters:
requestConfiguration
- Consumer of request configuration that represents query parameters.- Returns:
- Identities object
Identities
- Throws:
AzDException
- Default API exception handler.
-
read
public Identities read(Consumer<IdentitiesRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Resolve legacy identity information for use with older APIs such as the Security APIs- Parameters:
requestConfiguration
- Consumer of request configuration that represents query parameters.- Returns:
- Identities object
Identities
- Throws:
AzDException
- Default API exception handler.
-