URN-OASIS-SAML2
view release on metacpan or search on metacpan
lib/URN/OASIS/SAML2.pm view on Meta::CPAN
NAMEID_DEFAULT
NAMEID_X509_SUBJECT_NAME
NAMEID_WINDOWS_DOMAIN_QUALIFIED_NAME
);
my @urn = qw(
URN_ASSERTION
URN_METADATA
URN_PROTOCOL
URN_SIGNATURE
URN_ENCRYPTION
URN_PROTOCOL_ARTIFACT_RESPONSE
URN_PROTOCOL_LOGOUT_REQUEST
URN_PROTOCOL_RESPONSE
);
my @ns = qw(
NS_ASSERTION
NS_METADATA
NS_PROTOCOL
NS_SIGNATURE
NS_ENCRYPTION
);
my @status = qw(
STATUS_AUTH_FAILED
STATUS_REQUESTER
STATUS_REQUEST_DENIED
STATUS_RESPONDER
STATUS_SUCCESS
STATUS_PARTIAL_LOGOUT
);
our @EXPORT_OK = (@binding, @class, @nameid, @ns, @urn, @status);
our %EXPORT_TAGS = (
all => \@EXPORT_OK,
bindings => \@binding,
binding => \@binding,
classes => \@class,
class => \@class,
nameid => \@nameid,
urn => \@urn,
ns => \@ns,
status => \@status,
);
use constant base => 'urn:oasis:names:tc:SAML:';
use constant saml2 => base . '2.0:';
use constant saml1_1 => base . '1.1:';
use constant URN_ASSERTION => saml2 . 'assertion';
use constant NS_ASSERTION => 'saml';
use constant URN_METADATA => saml2 . 'metadata';
use constant NS_METADATA => 'md';
use constant URN_PROTOCOL => saml2 . 'protocol';
use constant NS_PROTOCOL => 'samlp';
use constant URN_SIGNATURE => 'http://www.w3.org/2000/09/xmldsig#';
use constant NS_SIGNATURE => 'ds';
use constant URN_ENCRYPTION => 'http://www.w3.org/2001/04/xmlenc#';
use constant NS_ENCRYPTION => 'xenc';
use constant URN_PROTOCOL_ARTIFACT_RESPONSE => URN_PROTOCOL . ':ArtifactResponse';
use constant URN_PROTOCOL_LOGOUT_REQUEST => URN_PROTOCOL . ':LogoutRequest';
use constant URN_PROTOCOL_RESPONSE => URN_PROTOCOL . ':Response';
use constant BINDING_HTTP_POST => saml2 . 'bindings:HTTP-POST';
use constant BINDING_HTTP_ARTIFACT => saml2 . 'bindings:HTTP-Artifact';
use constant BINDING_HTTP_REDIRECT => saml2 . 'bindings:HTTP-Redirect';
use constant BINDING_SOAP => saml2 . 'bindings:SOAP';
use constant BINDING_POAS => saml2 . 'bindings:POAS';
use constant BINDING_REVERSE_SOAP => BINDING_POAS;
use constant CLASS_UNSPECIFIED => saml2 . 'ac:classes:unspecified';
use constant CLASS_PASSWORD_PROTECTED => saml2 . 'ac:classes:PasswordProtectedTransport';
use constant CLASS_M2FA_UNREGISTERED => saml2 . 'ac:classes:MobileTwoFactorUnregistered';
use constant CLASS_M2FA_CONTRACT => saml2 . 'ac:classes:MobileTwoFactorContract';
use constant CLASS_SMARTCARD => saml2 . 'ac:classes:Smartcard';
use constant CLASS_SMARTCARD_PKI => saml2 . 'ac:classes:SmartcardPKI';
use constant NAMEID_FORMAT => saml2 . 'nameid-format';
use constant NAMEID_EMAIL => saml1_1 . 'nameid-format:emailAddress';
use constant NAMEID_UNSPECIFIED => saml1_1 . 'nameid-format:unspecified';
use constant NAMEID_X509_SUBJECT_NAME => saml1_1 . 'nameid-format:X509SubjectName';
use constant NAMEID_WINDOWS_DOMAIN_QUALIFIED_NAME => saml1_1 . 'nameid-format:WindowsDomainQualifiedName';
use constant NAMEID_FORMAT_ENTITY => saml2 . 'nameid-format:entity';
use constant NAMEID_KERBEROS => saml2 . 'nameid-format:kerberos';
use constant NAMEID_TRANSIENT => saml2 . 'nameid-format:transient';
use constant NAMEID_PERSISTENT => saml2 . 'nameid-format:persistent';
use constant NAMEID_DEFAULT => NAMEID_UNSPECIFIED;
use constant NAMEID_ENTITY => NAMEID_FORMAT_ENTITY;
use constant STATUS_AUTH_FAILED => saml2 . 'status:AuthnFailed';
use constant STATUS_REQUESTER => saml2 . 'status:Requester';
use constant STATUS_REQUEST_DENIED => saml2 . 'status:RequestDenied';
use constant STATUS_RESPONDER => saml2 . 'status:Responder';
use constant STATUS_SUCCESS => saml2 . 'status:Success';
use constant STATUS_PARTIAL_LOGOUT => saml2 . 'status:PartialLogout';
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
URN::OASIS::SAML2 - Constants for urn:oasis SAML2 implementations
=head1 VERSION
version 0.007
( run in 0.880 second using v1.01-cache-2.11-cpan-71847e10f99 )