final class SamlUserInfo implements UserInfoInterface (View source)

Value object representing SAML user information

Methods

__construct(string $username, string $email, string $firstName = '', string $lastName = '', string $displayName = '', array $groups = [], string $providerId = '', string $nameId = '', string $sessionIndex = '', array $rawAttributes = [])

No description

AuthMethod
authMethod()

No description

string
getUsername()

No description

string
getEmail()

No description

string
getDisplayName()

No description

string
getFullName()

No description

array
getGroups()

No description

string
getProviderId()

No description

string
getNameId()

No description

string
getSessionIndex()

No description

bool
isValid()

No description

string
getSubject()

Get the subject identifier for SAML (NameID) This method provides compatibility with OIDC UserInfo interface

array
getRawData()

Get raw data for compatibility with OIDC UserInfo Maps SAML attributes to the same format as OIDC

Details

__construct(string $username, string $email, string $firstName = '', string $lastName = '', string $displayName = '', array $groups = [], string $providerId = '', string $nameId = '', string $sessionIndex = '', array $rawAttributes = [])

No description

Parameters

string $username
string $email
string $firstName
string $lastName
string $displayName
array $groups
string $providerId
string $nameId
string $sessionIndex
array $rawAttributes

AuthMethod authMethod()

No description

Return Value

AuthMethod

string getUsername()

No description

Return Value

string

string getEmail()

No description

Return Value

string

string getDisplayName()

No description

Return Value

string

string getFullName()

No description

Return Value

string

array getGroups()

No description

Return Value

array

string getProviderId()

No description

Return Value

string

string getNameId()

No description

Return Value

string

string getSessionIndex()

No description

Return Value

string

bool isValid()

No description

Return Value

bool

string getSubject()

Get the subject identifier for SAML (NameID) This method provides compatibility with OIDC UserInfo interface

Return Value

string

array getRawData()

Get raw data for compatibility with OIDC UserInfo Maps SAML attributes to the same format as OIDC

Return Value

array