IdpResolver
class IdpResolver
Methods
Saml2Idp|null
resolveFromEnv(string $idpKey)
Resolve IDP from environment configuration.
Saml2Idp|null
resolveFromDatabase(string $idpKey)
Resolve IDP from database, with optional caching.
Collection
all()
Get all available IDPs.
bool
exists(string $idpKey)
Check if an IDP exists by key.
Saml2Idp|null
resolveByEntityId(string $entityId)
Resolve an IDP by its entity_id (used for ACS response lookup).
void
clearCache(string|null $idpKey = null)
Clear cached IDP data.
Details
at line 14
Saml2Idp|null
resolve(string $idpKey)
Resolve an IDP by its key.
at line 29
Saml2Idp|null
resolveFromEnv(string $idpKey)
Resolve IDP from environment configuration.
at line 57
Saml2Idp|null
resolveFromDatabase(string $idpKey)
Resolve IDP from database, with optional caching.
at line 79
Collection
all()
Get all available IDPs.
at line 110
bool
exists(string $idpKey)
Check if an IDP exists by key.
at line 118
Saml2Idp|null
resolveByEntityId(string $entityId)
Resolve an IDP by its entity_id (used for ACS response lookup).
at line 143
void
clearCache(string|null $idpKey = null)
Clear cached IDP data.