Saml2LoginEvent
class Saml2LoginEvent
Traits
Dispatchable
InteractsWithSockets
SerializesModels
Methods
__construct(string $idpKey, string $nameId, array $attributes, array $rawAttributes, string|null $sessionIndex = null)
Create a new event instance.
getAttribute(string $key, $default = null)
Get a specific mapped attribute.
getRawAttribute(string $key, $default = null)
Get a specific raw SAML attribute.
array
getAttributes()
Get all mapped attributes.
array
getRawAttributes()
Get all raw SAML attributes.
string|null
getEmail()
Get the email from common attribute sources.
string|null
getName()
Get the name from common attribute sources.
array
toArray()
Get all event data as an array.
Details
at line 22
__construct(string $idpKey, string $nameId, array $attributes, array $rawAttributes, string|null $sessionIndex = null)
Create a new event instance.
at line 33
getAttribute(string $key, $default = null)
Get a specific mapped attribute.
at line 41
getRawAttribute(string $key, $default = null)
Get a specific raw SAML attribute.
at line 56
array
getAttributes()
Get all mapped attributes.
at line 64
array
getRawAttributes()
Get all raw SAML attributes.
at line 72
string|null
getEmail()
Get the email from common attribute sources.
at line 84
string|null
getName()
Get the name from common attribute sources.
at line 95
array
toArray()
Get all event data as an array.