get

fun get(credentialsHash: String, user: String, permission: TokenPermission, clientId: String = LoxoneClientSettings.DEFAULT_CLIENT_ID, clientInfo: String = LoxoneClientSettings.DEFAULT_CLIENT_INFO): LoxoneMsgCommand<Token>

Command to get new token.

Parameters

credentialsHash

The credentials hash obtained by LoxoneCrypto.loxoneHashing from LoxoneCredentials.

user

The user to get the token for.

permission

The permission of the token.

clientId

Unique identifier of this client.

clientInfo

Information about this client.