class documentation

Undocumented

Method __init__ Undocumented
Async Method close Close the wrapped bearer.
Method receiver Return an instrumented receiver.
Method set_metrics Replace callbacks and propagate them to the wrapped bearer.
Property metrics_provider Return the metric provider label.
Property name Return the wrapped bearer's name.
Property wrapped Return the wrapped bearer.
Instance Variable _bearer Undocumented
Instance Variable _metrics Undocumented

Inherited from Bearer:

Class Method default_metrics_provider Return this bearer's default fully qualified metric provider label.
def __init__(self, bearer: _TokenBearer, metrics: AuthMetricsRecorder): (source)

Undocumented

async def close(self, grace: float | None = None): (source)

Close the wrapped bearer.

Return an instrumented receiver.

def set_metrics(self, metrics: AuthMetricsLike): (source)

Replace callbacks and propagate them to the wrapped bearer.

@property
metrics_provider: str = (source)

Return the metric provider label.

Return the wrapped bearer's name.

Return the wrapped bearer.

Undocumented

_metrics = (source)

Undocumented