samly v0.6.2 Samly.Assertion View Source
SAML assertion returned from IDP upon successful user authentication.
The assertion attributes returned by the IdP are available in attributes
field
as a map. Any computed attributes (using a Plug Pipeline by way of configuration)
are available in computed
field as map.
The attributes can be accessed directly from attributes
or computed
maps.
The Samly.get_attribute/2
function can be used as well. This function will
first look at the computed
attributes. If the request attribute is not present there,
it will check in attributes
next.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Samly.Assertion{attributes: map, authn: map, computed: map, conditions: map, issue_instant: String.t, issuer: String.t, recipient: String.t, subject: Samly.Subject.t, version: String.t}