Class AccessTokenAuthentication

java.lang.Object
org.hisp.dhis.auth.AccessTokenAuthentication
All Implemented Interfaces:
Serializable, Authentication

public class AccessTokenAuthentication extends Object implements Authentication, Serializable
Class representing access token authentication.
See Also:
  • Constructor Details

    • AccessTokenAuthentication

      public AccessTokenAuthentication()
  • Method Details

    • getHttpHeaderAuthName

      public String getHttpHeaderAuthName()
      Description copied from interface: Authentication
      Returns the name of the HTTP header to use for authentication.
      Specified by:
      getHttpHeaderAuthName in interface Authentication
      Returns:
      the name of the HTTP header to use for authentication.
    • getHttpHeaderAuthValue

      public String getHttpHeaderAuthValue()
      Description copied from interface: Authentication
      Returns the value of the HTTP header to use for authentication.
      Specified by:
      getHttpHeaderAuthValue in interface Authentication
      Returns:
      the value of the HTTP header to use for authentication.