Package org.hisp.dhis.auth
Class AccessTokenAuthentication
java.lang.Object
org.hisp.dhis.auth.AccessTokenAuthentication
- All Implemented Interfaces:
Serializable,Authentication
Class representing access token authentication.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the HTTP header to use for authentication.Returns the value of the HTTP header to use for authentication.
-
Constructor Details
-
AccessTokenAuthentication
public AccessTokenAuthentication()
-
-
Method Details
-
getHttpHeaderAuthName
Description copied from interface:AuthenticationReturns the name of the HTTP header to use for authentication.- Specified by:
getHttpHeaderAuthNamein interfaceAuthentication- Returns:
- the name of the HTTP header to use for authentication.
-
getHttpHeaderAuthValue
Description copied from interface:AuthenticationReturns the value of the HTTP header to use for authentication.- Specified by:
getHttpHeaderAuthValuein interfaceAuthentication- Returns:
- the value of the HTTP header to use for authentication.
-