HttpRequest.Auth¶
-
public class
Auth
¶ The authentication parameters for a request.
Fields¶
Constructors¶
Methods¶
email¶
from¶
isAnonymous¶
-
public boolean
isAnonymous
()¶ Check if the request is made by an unauthenticated source.
Returns: Boolean, true if request is anonymous else false.
isCookie¶
-
public boolean
isCookie
()¶ Check if the request is made by a human user identified by HTTP cookies
Returns: Boolean, true if authenticated using cookie else false.
isExternalServer¶
-
public boolean
isExternalServer
()¶ Check if the request made from external source
Returns: Boolean, true if request by external source else false.