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_extra
Auth extras with all the auth extras from the underlying methods. auth_id
Auth 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: AuthMethodABC
Returns: 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
]
-