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

string
getUsername()

No description

string
getEmail()

No description

string
getFirstName()

No description

string
getLastName()

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

array
getRawAttributes()

No description

bool
hasGroup(string $group)

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

string getUsername()

No description

Return Value

string

string getEmail()

No description

Return Value

string

string getFirstName()

No description

Return Value

string

string getLastName()

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

array getRawAttributes()

No description

Return Value

array

bool hasGroup(string $group)

No description

Parameters

string $group

Return Value

bool

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