Following is the XML piece of SAML 2.0 assertion (non-encrypted).
In saml:Assertion element, the Version="2.0" identifies this is SAML 2.0 assertion. IssueInstant="2013-08-08T21:54:10.208Z" is the UTC time when this assertion is issued.
saml:Issuer specifies who issues the assertion. The consumer of the assertion could validate against the value to make sure the assertion comes from the desired issuer.
The entire Signature block is related to encrypt and signing of the assertion. It is automatic generated by API.
saml:NameID inside saml:Subject is where you put the primary credential information of the user. It should be some information that can uniquely identify the user.
saml:Conditions defines conditions to use the assertion. The most common condition is time range:
NotBefore is the UTC time when this assertion becomes valid. If the consumer receives the assertion before this time, the assertion is deemed invalid.
NotOnOrAfter is the UTC time when this assertion becomes expired. If the consumer receives the assertion after this time, the assertion is deemed expired.
saml:Audience specifies who this assertion targets to. The consumer can check this field to validate if the assertion is targeted to itself.
In saml:Assertion element, the Version="2.0" identifies this is SAML 2.0 assertion. IssueInstant="2013-08-08T21:54:10.208Z" is the UTC time when this assertion is issued.
saml:Issuer specifies who issues the assertion. The consumer of the assertion could validate against the value to make sure the assertion comes from the desired issuer.
The entire Signature block is related to encrypt and signing of the assertion. It is automatic generated by API.
saml:NameID inside saml:Subject is where you put the primary credential information of the user. It should be some information that can uniquely identify the user.
saml:Conditions defines conditions to use the assertion. The most common condition is time range:
NotBefore is the UTC time when this assertion becomes valid. If the consumer receives the assertion before this time, the assertion is deemed invalid.
NotOnOrAfter is the UTC time when this assertion becomes expired. If the consumer receives the assertion after this time, the assertion is deemed expired.
saml:Audience specifies who this assertion targets to. The consumer can check this field to validate if the assertion is targeted to itself.
Comments