Interface TrustedToken


  • public interface TrustedToken
    A token for trusted communications between Atlassian applications
    • Method Detail

      • getUserName

        String getUserName()
        Returns:
        The user name associated with this token
      • getApplicationId

        String getApplicationId()
        Returns:
        The identity of the application which generated this token
      • getEncodedToken

        String getEncodedToken()
        Returns:
        An encoded form of this token to be used for transporting the token between processes
      • getEncodedKey

        String getEncodedKey()
        Returns:
        An encoded form of the key used to encode the token
      • getMagicNumber

        String getMagicNumber()
        Returns:
        the magic number used in v2 of the trusted protocol
      • getProtocolVersion

        Integer getProtocolVersion()
        Returns:
        the version of the protocol in use.
      • getSignature

        String getSignature()
        Returns:
        The signature sent with the token, used to verify the username and requested url.