Class UserApiTokenCredentials

java.lang.Object
org.openhab.core.auth.UserApiTokenCredentials
All Implemented Interfaces:
Credentials

public class UserApiTokenCredentials extends Object implements Credentials
Credentials which represent a user API token.
Author:
Yannick Schaus - Initial contribution
  • Constructor Details

    • UserApiTokenCredentials

      public UserApiTokenCredentials(String userApiToken)
      Creates a new instance
      Parameters:
      userApiToken - the user API token
  • Method Details

    • getApiToken

      public String getApiToken()
      Retrieves the user API token
      Returns:
      the token