Authen-NZRealMe

 view release on metacpan or  search on metacpan

lib/Authen/NZRealMe/CommonURIs.pm  view on Meta::CPAN

=item saml_nameid_format_persistent => urn:oasis:names:tc:SAML:2.0:nameid-format:persistent

Identifier type used for SAML 2.0 NameID subject format, unique identifier is retained.
Source [SAML2].

=item saml_nameid_format_transient => urn:oasis:names:tc:SAML:2.0:nameid-format:transient

Identifier type used for SAML 2.0 NameID subject format, unique identifier for each flow.
Source [SAML2].

=item rm_timeout => urn:nzl:govt:ict:stds:authn:deployment:RealMe:SAML:2.0:status:Timeout

Identifier type used by RealMe for SAML 2.0 response timeout status references.
Source [RM_LOGIN].

=item gls_timeout => urn:nzl:govt:ict:stds:authn:deployment:GLS:SAML:2.0:status:Timeout

Identifier type used by GLS for SAML 2.0 response timeout status references.
Source [RM_LOGIN].

=item xpil => urn:oasis:names:tc:ciq:xpil:3

Namespace used for party (person) elements in RealMe identity assertions.
Source [RM_ASSERT].

=item xal => urn:oasis:names:tc:ciq:xal:3

t/60-resolve-post-login.t  view on Meta::CPAN

isa_ok($resp => 'Authen::NZRealMe::ResolutionResponse', 'resolution response');

ok(!$resp->is_success,        'response status is not success');
ok($resp->is_error,           'response status is error');
ok($resp->is_timeout,         'response status is timeout');
ok(!$resp->is_cancel,         'response status is not cancel');
ok(!$resp->is_not_registered, 'response status is not "not registered"');

is(
    $resp->status_urn,
    'urn:nzl:govt:ict:stds:authn:deployment:GLS:SAML:2.0:status:Timeout',
    'response status_urn'
);

is(
    $resp->status_message,
    'RealMe login service session timeout',
    'response status_message'
);

is($resp->flt, undef, 'response FLT not defined');

t/test-data/encrypted-timeout-plaintext.xml  view on Meta::CPAN

<samlp:Response
        xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
        ID="s915f02edbf44c8c37bfe4d6019f3a261fc5b73030"
        InResponseTo="e1db069d533bcb0a5c75f489c739ba52e625cb827"
        Version="2.0"
        IssueInstant="2020-01-21T09:16:51Z">
    <saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">https://test.fakeme.govt.nz/saml2</saml:Issuer>
    <samlp:Status xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">
        <samlp:StatusCode xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Value="urn:oasis:names:tc:SAML:2.0:status:Responder">
            <samlp:StatusCode xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Value="urn:nzl:govt:ict:stds:authn:deployment:GLS:SAML:2.0:status:Timeout">
            </samlp:StatusCode>
        </samlp:StatusCode>
        <samlp:StatusMessage xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">
            RealMe login service session timeout
        </samlp:StatusMessage>
    </samlp:Status>
</samlp:Response>

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.163 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )