SAMLIDPConfigBase::GenerateAuthenticationStatement2 (open)

Generates the data for an authentication statement for the currently logged in user

Syntax

LOADLIB "mod::wrd/lib/auth/saml.whlib";

RECORD FUNCTION GenerateAuthenticationStatement2(RECORD requestdata)

Parameters

RECORD requestdata

Data describing the request

RECORD endpoint

Endpoint this statement is sent to #includecelldef ../internal/auth/saml.whlib#SAMLConnectedServiceProvider::GetEndpointOfTypeByIdx.return

DATETIME now

Signature time of the authentication response

STRING requestid

SAML request id, empty for IdP-initiated login

OBJECT sp

Receiving service provider

Return value

RECORD

Authentication statement data

RECORD ARRAY attributes
STRING attributes.name
STRING attributes.value
RECORD subject
RECORD subject.nameid
STRING subject.nameid.format
STRING subject.nameid.value