aiowamp.AuthKeyringABC¶
-
class
aiowamp.AuthKeyringABC[source]¶ Abstract keyring for auth methods.
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__Initialize self. get(k[,d])items()keys()values()Attributes
auth_extraAuth extras with all the auth extras from the underlying methods. auth_idAuth id to use during authentication. -
__getitem__(method)[source]¶ Get the auth method with the given name.
Parameters: method ( str) – Name of the method to get.Return type: AuthMethodABCReturns: Auth method stored in the keyring. Raises: KeyError– If no auth method with the given method exists in the keyring.
-
__iter__()[source]¶ Get an iterator for the auth method names in the keyring.
Return type: Iterator[str]
-