Authenticator

com.google.api.server.spi.config

Interface Authenticator



  • public interface Authenticator
    Interface for Endpoints authenticators. To create a custom authenticator, implement and assign your authenticator class in the authenticator configuration property.
    • Method Detail

      • authenticate

        User authenticate(HttpServletRequest request)
                   throws ServiceException
        Authenticates the user from request.
        Returns:
        The authenticated user or null if there is no auth or auth has failed.
        Throws:
        ServiceException