GafaelfawrIngressConfig#

class gafaelfawr.models.kubernetes.GafaelfawrIngressConfig(*, allowCookies=True, allowOptions=False, authCacheDuration=None, authType=None, baseUrl=None, delegate=None, loginRedirect=False, onlyServices=None, replace403=False, scopes, service=None, userDomain=False, username=None)#

Bases: CamelCaseModel

Configuration settings for an ingress using Gafaelfawr for auth.

Parameters:

Attributes Summary

model_config

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

Methods Summary

to_auth_query()

Generate the query corresponding to this ingress configuration.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'alias_generator': AliasGenerator(alias=None, validation_alias=<function to_camel>, serialization_alias=<function to_camel>), 'serialize_by_alias': True, 'validate_by_name': True}#

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

Methods Documentation

to_auth_query()#

Generate the query corresponding to this ingress configuration.

Returns:

List of query parameters corresponding to this ingress configuration to pass to the Gafaelfawr /ingress/auth route.

Return type:

list[tuple[str, str]]