Class OidcAuthenticateRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<OidcAuthenticateRequest.Builder>
co.elastic.clients.elasticsearch.security.OidcAuthenticateRequest.Builder
- All Implemented Interfaces:
- WithJson<OidcAuthenticateRequest.Builder>,- ObjectBuilder<OidcAuthenticateRequest>
- Enclosing class:
- OidcAuthenticateRequest
public static class OidcAuthenticateRequest.Builder
extends RequestBase.AbstractBuilder<OidcAuthenticateRequest.Builder>
implements ObjectBuilder<OidcAuthenticateRequest>
Builder for 
OidcAuthenticateRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aOidcAuthenticateRequest.Required - Associate a client session with an ID token and mitigate replay attacks.The name of the OpenID Connect realm.redirectUri(String value) Required - The URL to which the OpenID Connect Provider redirected the User Agent in response to an authentication request after a successful authentication.protected OidcAuthenticateRequest.Builderself()Required - Maintain state between the authentication request and the response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
nonceRequired - Associate a client session with an ID token and mitigate replay attacks. This value needs to be the same as the one that was provided to the/_security/oidc/prepareAPI or the one that was generated by Elasticsearch and included in the response to that call.API name: nonce
- 
realmThe name of the OpenID Connect realm. This property is useful in cases where multiple realms are defined.API name: realm
- 
redirectUriRequired - The URL to which the OpenID Connect Provider redirected the User Agent in response to an authentication request after a successful authentication. This URL must be provided as-is (URL encoded), taken from the body of the response or as the value of a location header in the response from the OpenID Connect Provider.API name: redirect_uri
- 
stateRequired - Maintain state between the authentication request and the response. This value needs to be the same as the one that was provided to the/_security/oidc/prepareAPI or the one that was generated by Elasticsearch and included in the response to that call.API name: state
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<OidcAuthenticateRequest.Builder>
 
- 
buildBuilds aOidcAuthenticateRequest.- Specified by:
- buildin interface- ObjectBuilder<OidcAuthenticateRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-