AuthProviderCallbackState Class

Provides request HTTP headers, body, and query parameters to the AuthProviderPlugin.handleCallback method for user authentication. This class allows you to group the information passed in rather than passing headers, body, and query parameters individually.

Auth

See Also

The following are constructors for AuthProviderCallbackState.

Creates an instance of the AuthProviderCallbackState class using the specified HTTP headers, body, and query parameters of the authentication request.

public AuthProviderCallbackState(Map<String,String> headers, String body, Map<String,String> queryParameters)

  • headers:

    Type: Map<String,String>

    The HTTP headers of the authentication request.

  • body:

    Type: String

    The HTTP body of the authentication request.

  • queryParameters:

    Type: Map<String,String>

    The HTTP query parameters of the authentication request.

The following are properties for AuthProviderCallbackState.

  • body

    The HTTP body of the authentication request.

  • headers

    The HTTP headers of the authentication request.

  • queryParameters

    The HTTP query parameters of the authentication request.

The HTTP body of the authentication request.

public String body {get; set;}

Type: String

The HTTP headers of the authentication request.

public Map<String,String> headers {get; set;}

Type: Map<String,String>

The HTTP query parameters of the authentication request.

public Map<String,String> queryParameters {get; set;}

Type: Map<String,String>