public interface PeerAuthenticator
Authenticator
. It returns false
if authentication failed and stops handling the rest of the request; true if authentication
succeeds and continue to execute rest of peer authenticators.
If no peer authenticator is set, EndpointsPeerAuthenticator
will be the default to verify
the request is from Google. If you supply your own peer authenticator, make sure you also put
EndpointsPeerAuthenticator
to the head of peerAuthenticators list to verify the request
is from Google.
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(HttpServletRequest request) |