homematicip.auth¶
homematicip.auth
¶
Auth
dataclass
¶
This class generates the auth token for the homematic ip access point.
__init__
¶
Initialize the auth object. @param connection: The connection object @param client_auth_token: The client auth token @param accesspoint_id: The access point id
confirm_auth_token
async
¶
Confirm the auth token and get the client id. @param auth_token: The auth token @return: The client id
request_auth_token
async
¶
Request an auth token from the access point. @return: The auth token