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 to be passed in rather than passing headers, body, and query parameters individually.

Namespace

Auth

AuthProviderCallbackState Constructors

The following are constructors for AuthProviderCallbackState.

AuthProviderCallbackState(headers, body, queryParameters)

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

Signature

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

Parameters

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.

AuthProviderCallbackState Properties

The following are properties for AuthProviderCallbackState.

body

The HTTP body of the authentication request.

Signature

public String body {get; set;}

Property Value

Type: String

headers

The HTTP headers of the authentication request.

Signature

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

Property Value

Type: Map<String,String>

queryParameters

The HTTP query parameters of the authentication request.

Signature

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

Property Value

Type: Map<String,String>