Class ProtocolMessage.AuthDetails

  • Enclosing class:
    ProtocolMessage

    public static class ProtocolMessage.AuthDetails
    extends java.lang.Object
    Contains the token string used to authenticate a client with Ably.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String accessToken
      The authentication token string.
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthDetails​(java.lang.String s)
      Creates AuthDetails object with provided authentication token string.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • accessToken

        public java.lang.String accessToken
        The authentication token string.

        Spec: AD2

    • Constructor Detail

      • AuthDetails

        public AuthDetails​(java.lang.String s)
        Creates AuthDetails object with provided authentication token string.
        Parameters:
        s - Authentication token string.