Class OpenIdConnectPrepareAuthenticationResponse

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.xpack.core.security.action.oidc.OpenIdConnectPrepareAuthenticationResponse
All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class OpenIdConnectPrepareAuthenticationResponse extends ActionResponse implements org.elasticsearch.xcontent.ToXContentObject
A response object that contains the OpenID Connect Authentication Request as a URL and the state and nonce values that were generated for this request.
  • Constructor Details

    • OpenIdConnectPrepareAuthenticationResponse

      public OpenIdConnectPrepareAuthenticationResponse(String authorizationEndpointUrl, String state, String nonce, String realmName)
  • Method Details

    • getAuthenticationRequestUrl

      public String getAuthenticationRequestUrl()
    • getState

      public String getState()
    • getNonce

      public String getNonce()
    • getRealmName

      public String getRealmName()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException