Package io.ably.lib.rest

Class Auth

java.lang.Object
io.ably.lib.rest.Auth

public class Auth extends Object
Token-generation and authentication operations for the Ably API. See the Ably Authentication documentation for details of the authentication methods available. Creates Ably Auth.TokenRequest objects and obtains Ably Tokens from Ably to subsequently issue to less trusted clients.
  • Field Details

    • clientId

      public String clientId
      A client ID, used for identifying this client when publishing messages or for presence purposes. The clientId can be any non-empty string, except it cannot contain a *. This option is primarily intended to be used in situations where the library is instantiated with a key. Note that a clientId may also be implicit in a token used to instantiate the library. An error is raised if a clientId specified here conflicts with the clientId implicit in the token. Find out more about identified clients.

      Spec: RSA7, RSC17, RSA12

    • WILDCARD_CLIENTID

      public static final String WILDCARD_CLIENTID
      See Also:
  • Method Details