GafaelfawrIngressScopesBase#

class gafaelfawr.models.kubernetes.GafaelfawrIngressScopesBase(**data)#

Bases: BaseModel

Base class for specifying the required scopes.

Required scopes can be specified in one of two ways: a list of scopes that must all be present, or a list of scopes where any one of those scopes must be present. This base class represents the common interface with the rest of Gafaelfawr.

Parameters:

data (Any)

Attributes Summary

model_config

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

satisfy

The authorization satisfy strategy.

scopes

List of scopes.

Methods Summary

is_anonymous()

Whether this ingress is anonymous.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'extra': 'forbid', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}#

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

satisfy#

The authorization satisfy strategy.

scopes#

List of scopes.

Methods Documentation

abstract is_anonymous()#

Whether this ingress is anonymous.

Return type:

bool