Skip to content

common_auth.schemas.tokens.remote

HTTP-dependent keeper lookup configuration.

Classes

RemoteTokenConfig

Bases: _TokenConfig

Read access tokens through an injected keeper protocol/authentication adapter.

Endpoint owns request shape; HTTP owns transport/execution settings. Relative addresses and template inputs are resolved by the consuming adapter/client. This is a read-only capability: issuer grant implementations and refresh credentials cannot be configured here. Keeper wire compatibility and response binding validation remain adapter responsibilities, not inferred from a URL.

Fields and properties declared here; inherited members belong to the bases above.

endpoint

endpoint: Endpoint = Field(repr=False)

http

http: HttpClientConfig = Field(default_factory=HttpClientConfig, repr=False)

mode

mode: Literal['remote'] = 'remote'

merge

def merge(**overrides: object) -> Self

Patch HTTP through its own merge; replace the endpoint/grant as a whole.