openpectus.aggregator.routers.auth
Attributes
Functions
|
|
|
|
|
|
|
|
|
Module Contents
- openpectus.aggregator.routers.auth.router
- openpectus.aggregator.routers.auth.use_auth
- openpectus.aggregator.routers.auth.tenant_id
- openpectus.aggregator.routers.auth.client_id
- openpectus.aggregator.routers.auth.authority_url = 'https://login.microsoftonline.com/Uninferable/v2.0'
- openpectus.aggregator.routers.auth.well_known_url
- openpectus.aggregator.routers.auth.jwks_url_id_token = 'https://login.microsoftonline.com/common/discovery/keys'
- openpectus.aggregator.routers.auth.jwks_url_access_token = 'https://login.microsoftonline.com/Uninferable/discovery/v2.0/keys'
- openpectus.aggregator.routers.auth.access_token_issuer = 'https://sts.windows.net/Uninferable/'
- openpectus.aggregator.routers.auth.get_config()
- Return type:
- openpectus.aggregator.routers.auth.jwks_client_pkce
- openpectus.aggregator.routers.auth.jwks_client_secret
- openpectus.aggregator.routers.auth.decode_token_or_fail(x_identity)
- Return type:
dict[str, Any]
- openpectus.aggregator.routers.auth.user_name(x_identity='')
- Parameters:
x_identity (Annotated[str, Header()])
- Return type:
str
- openpectus.aggregator.routers.auth.user_roles(x_identity='')
- Parameters:
x_identity (Annotated[str, Header()])
- Return type:
set[str]
- openpectus.aggregator.routers.auth.user_id(x_identity='')
- Parameters:
x_identity (Annotated[str, Header()])
- Return type:
str | None
- openpectus.aggregator.routers.auth.UserRolesDependency
- openpectus.aggregator.routers.auth.UserRolesValue
- openpectus.aggregator.routers.auth.UserNameDependency
- openpectus.aggregator.routers.auth.UserNameValue
- openpectus.aggregator.routers.auth.UserIdDependency
- openpectus.aggregator.routers.auth.UserIdValue
- openpectus.aggregator.routers.auth.has_access(engine_or_run, user_roles)
- Parameters:
engine_or_run (openpectus.aggregator.models.EngineData | openpectus.aggregator.data.models.RecentEngine | openpectus.aggregator.data.models.RecentRun)
user_roles (set[str])