Ligare.identity.config

Classes

Config(**data)

SAML2Config(**data)

SSOConfig(**data)

SSOSettingsConfig(**data)

class Ligare.identity.config.Config(**data)[source]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

post_load()[source]

This method is called by load_config after TOML data has been loaded into the pluggable config type instance.

Return type:

None

sso: SSOConfig
class Ligare.identity.config.SAML2Config(**data)[source]
acs_url: str | None
https_acs_url: str | None
metadata: str
metadata_url: str
model_config: ClassVar[ConfigDict] = {'extra': 'ignore'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

relay_state: str
class Ligare.identity.config.SSOConfig(**data)[source]
__init__(**data)[source]

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

post_load()[source]

This method is called by load_config after TOML data has been loaded into the pluggable config type instance.

Return type:

None

protocol: str
settings: SSOSettingsConfig | None
class Ligare.identity.config.SSOSettingsConfig(**data)[source]
model_config: ClassVar[ConfigDict] = {'extra': 'allow'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].