Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ public AcquireAccessTokenRequestBuilder(@jakarta.annotation.Nonnull final String
* Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
* @see <a href="https://learn.microsoft.com/graph/api/synchronization-synchronization-acquireaccesstoken?view=graph-rest-beta">Find more info here</a>
*/
@Deprecated
public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequestBody body) {
post(body, null);
}
Expand All @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequest
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
* @see <a href="https://learn.microsoft.com/graph/api/synchronization-synchronization-acquireaccesstoken?view=graph-rest-beta">Find more info here</a>
*/
@Deprecated
public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
Expand All @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequest
* Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application.
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequestBody body) {
return toPostRequestInformation(body, null);
}
Expand All @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
Expand All @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link AcquireAccessTokenRequestBuilder}
* @deprecated
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public AcquireAccessTokenRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new AcquireAccessTokenRequestBuilder(rawUrl, requestAdapter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ public ValidateCredentialsRequestBuilder(@jakarta.annotation.Nonnull final Strin
* Validate that the credentials are valid in the tenant.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
* @see <a href="https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-validatecredentials?view=graph-rest-beta">Find more info here</a>
*/
@Deprecated
public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body) {
post(body, null);
}
Expand All @@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
* @see <a href="https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-validatecredentials?view=graph-rest-beta">Find more info here</a>
*/
@Deprecated
public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
Expand All @@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
* Validate that the credentials are valid in the tenant.
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
Expand All @@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
Expand All @@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link ValidateCredentialsRequestBuilder}
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public ValidateCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new ValidateCredentialsRequestBuilder(rawUrl, requestAdapter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ public ValidateCredentialsRequestBuilder(@jakarta.annotation.Nonnull final Strin
* Invoke action validateCredentials
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@Deprecated
public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body) {
post(body, null);
}
Expand All @@ -47,7 +50,10 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@Deprecated
public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
Expand All @@ -59,8 +65,11 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
* Invoke action validateCredentials
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
Expand All @@ -69,8 +78,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
Expand All @@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link ValidateCredentialsRequestBuilder}
* @deprecated
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public ValidateCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new ValidateCredentialsRequestBuilder(rawUrl, requestAdapter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ public class SecretsRequestBuilder extends BaseRequestBuilder {
/**
* Provides operations to count the resources in the collection.
* @return a {@link CountRequestBuilder}
* @deprecated
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@Deprecated
@jakarta.annotation.Nonnull
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
Expand All @@ -48,8 +51,11 @@ public SecretsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
* @param body The request body
* @return a {@link SecretsPutResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nullable
@Deprecated
public SecretsPutResponse put(@jakarta.annotation.Nonnull final SecretsPutRequestBody body) {
return put(body, null);
}
Expand All @@ -59,8 +65,11 @@ public SecretsPutResponse put(@jakarta.annotation.Nonnull final SecretsPutReques
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link SecretsPutResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nullable
@Deprecated
public SecretsPutResponse put(@jakarta.annotation.Nonnull final SecretsPutRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PutRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration);
Expand All @@ -72,8 +81,11 @@ public SecretsPutResponse put(@jakarta.annotation.Nonnull final SecretsPutReques
* Update property secrets value.
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final SecretsPutRequestBody body) {
return toPutRequestInformation(body, null);
}
Expand All @@ -82,8 +94,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final SecretsPutRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PutRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters);
Expand All @@ -96,8 +111,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link SecretsRequestBuilder}
* @deprecated
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
*/
@jakarta.annotation.Nonnull
@Deprecated
public SecretsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new SecretsRequestBuilder(rawUrl, requestAdapter);
Expand Down
Loading
Loading