Skip to content

homematicip.auth

Auth dataclass

This class generates the auth token for the homematic ip access point.

__init__

__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_auth_token

Confirm the auth token and get the client id. @param auth_token: The auth token @return: The client id

request_auth_token async

request_auth_token

Request an auth token from the access point. @return: The auth token

set_pin

set_pin

Set the pin for the auth object. @param pin: The pin