Class AuthToken

java.lang.Object
io.deephaven.enterprise.auth.AuthToken
All Implemented Interfaces:
Serializable

public class AuthToken extends Object implements Serializable
An ephemeral token to implement three-way handshake between a client and a third service, leveraging an authentication server that has the client authenticated.

The client requests a token from the authentication server, and then passes the token to the third service, which in turn validates the token with the authentication server, to confirm identity and credentials.

See Also:
  • Field Details

    • tokenId

      protected final long tokenId
    • service

      protected final String service
    • tokenContext

      protected final UserContext tokenContext
    • originHost

      protected final InetAddress originHost
  • Constructor Details

  • Method Details

    • getTokenId

      public long getTokenId()
    • getService

      public String getService()
    • getTokenContext

      public UserContext getTokenContext()
    • getOriginHost

      public InetAddress getOriginHost()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object