OAuthFlowRegistry Class

Case-insensitive, insertion-ordered collection of OAuthFlow.

Subclasses Mapping, so in, .get(), .values(), len() and truthiness all work without extra code.

Constructor

OAuthFlowRegistry()

Methods

add

Register a flow. Raises ValueError if the connection already exists.

add

Register a flow. Raises ValueError if the connection already exists.

add(flow: OAuthFlow) -> OAuthFlow

Parameters

Name Description
flow
Required