Class DisableAuth.Request
java.lang.Object
io.helidon.integrations.common.rest.ApiJsonBuilder<DisableAuth.Request>
io.helidon.integrations.common.rest.ApiJsonRequest<DisableAuth.Request>
io.helidon.integrations.vault.VaultRequest<DisableAuth.Request>
io.helidon.integrations.vault.sys.DisableAuth.Request
- All Implemented Interfaces:
ApiRequest<DisableAuth.Request>
- Enclosing class:
DisableAuth
Request object. Can be configured with additional headers, query parameters etc.
-
Method Summary
Modifier and TypeMethodDescriptionauth
(AuthMethod<?> method) Authentication method to disable.static DisableAuth.Request
builder()
Fluent API builder for configuring a request.Path of an authentication method to disable.toJson
(JsonBuilderFactory factory) Create a JSON object from this builder.Methods inherited from class io.helidon.integrations.vault.VaultRequest
add, addCommaDelimitedArray, addToCommaDelimitedArray, durationToTtl, preBuild
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonRequest
addHeader, addQueryParam, headers, queryParams, requestId, requestId, requestMediaType, requestMediaType, responseMediaType, responseMediaType
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonBuilder
add, add, add, add, add, add, addBase64, addToArray, addToArray, addToArray, addToArray, addToArray, addToArray, addToObject, addToObject, addToObject, addToObject, addToObject, emptyArray, me, postBuild
-
Method Details
-
builder
Fluent API builder for configuring a request. The request builder is passed as is, without a build method. The equivalent of a build method istoJson(jakarta.json.JsonBuilderFactory)
used by theRestApi
.- Returns:
- new request builder
-
auth
Authentication method to disable. It is sufficient to usepath(String)
.- Parameters:
method
- method to disable- Returns:
- updated request
-
path
Path of an authentication method to disable.- Parameters:
path
- path to disable- Returns:
- updated request
-
toJson
Description copied from class:ApiJsonBuilder
Create a JSON object from this builder.- Specified by:
toJson
in interfaceApiRequest<DisableAuth.Request>
- Overrides:
toJson
in classApiJsonBuilder<DisableAuth.Request>
- Parameters:
factory
- builder factory to create objects- Returns:
- JSON object or empty
-