Class MobileappToken

java.lang.Object
org.ametys.plugins.mobileapp.site.MobileappToken
All Implemented Interfaces:
GetToken

public class MobileappToken extends Object implements GetToken
Handle token for mobileapp requests.
  • Field Details

  • Constructor Details

  • Method Details

    • getToken

      public String getToken(Request request)
      Description copied from interface: GetToken
      Get an authentication token from the request, if any.
      Specified by:
      getToken in interface GetToken
      Parameters:
      request - the current request.
      Returns:
      the token or null if it doesn't exist.
    • getTokenContext

      public String getTokenContext(Request request)
      Description copied from interface: GetToken
      Get an authentication token context from the request, if any.
      Specified by:
      getTokenContext in interface GetToken
      Parameters:
      request - the current request.
      Returns:
      the token context or null if it doesn't exist.