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 requestdataData describing the request
RECORD endpointEndpoint this statement is sent to #includecelldef ../internal/auth/saml.whlib#SAMLConnectedServiceProvider::GetEndpointOfTypeByIdx.return
DATETIME nowSignature time of the authentication response
STRING requestidSAML request id, empty for IdP-initiated login
OBJECT spReceiving service provider
Return value
RECORDAuthentication statement data
RECORD ARRAY attributesSTRING attributes.nameSTRING attributes.valueRECORD subjectRECORD subject.nameidSTRING subject.nameid.formatSTRING subject.nameid.value