Saml2Idp
class Saml2Idp extends Model
Properties
| protected | $table | The table associated with the model. |
|
| protected | $fillable | The attributes that are mass assignable. |
|
| $hidden | The attributes that should be hidden for serialization. |
||
| protected | $casts | The attributes that should be cast. |
Methods
Prevent key from being changed after creation.
Scope to only include active IDPs.
Get the login URL for this IDP.
Convert to onelogin/php-saml IDP settings array.
Check if the IDP is ready for use.
Get additional metadata value.
Set additional metadata value.
Get the effective attribute mapping for this IDP.
Check if this IDP has custom attribute mapping.
Details
at line 52
static protected void
booted()
Prevent key from being changed after creation.
at line 64
scopeActive($query)
Scope to only include active IDPs.
at line 72
string
getLoginUrl()
Get the login URL for this IDP.
at line 80
array
toIdpSettings()
Convert to onelogin/php-saml IDP settings array.
at line 109
bool
isReady()
Check if the IDP is ready for use.
at line 120
getMetadataValue(string $key, $default = null)
Get additional metadata value.
at line 128
Saml2Idp
setMetadataValue(string $key, $value)
Set additional metadata value.
at line 140
array
getAttributeMapping()
Get the effective attribute mapping for this IDP.
Falls back to global config if IDP-specific mapping is empty.
at line 154
bool
hasCustomAttributeMapping()
Check if this IDP has custom attribute mapping.