class IdpResolver

Methods

Saml2Idp|null
resolve(string $idpKey)

Resolve an IDP by its key.

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.

Parameters

string $idpKey

Return Value

Saml2Idp|null

at line 29
Saml2Idp|null resolveFromEnv(string $idpKey)

Resolve IDP from environment configuration.

Parameters

string $idpKey

Return Value

Saml2Idp|null

at line 57
Saml2Idp|null resolveFromDatabase(string $idpKey)

Resolve IDP from database, with optional caching.

Parameters

string $idpKey

Return Value

Saml2Idp|null

at line 79
Collection all()

Get all available IDPs.

Return Value

Collection

at line 110
bool exists(string $idpKey)

Check if an IDP exists by key.

Parameters

string $idpKey

Return Value

bool

at line 118
Saml2Idp|null resolveByEntityId(string $entityId)

Resolve an IDP by its entity_id (used for ACS response lookup).

Parameters

string $entityId

Return Value

Saml2Idp|null

at line 143
void clearCache(string|null $idpKey = null)

Clear cached IDP data.

Parameters

string|null $idpKey

Return Value

void