Package org.restheart.signup
Class UserVerifier
java.lang.Object
org.restheart.signup.UserVerifier
- All Implemented Interfaces:
CORSHeaders,ConfigurablePlugin,ExchangeTypeResolver<JsonRequest,,JsonResponse> HandlingPlugin<JsonRequest,,JsonResponse> JsonService,Plugin,Service<JsonRequest,JsonResponse>
Verifies a registered user
It assumes that the user collection is 'restheart.users', the roles property
is 'roles' and the id of the user is "_id" (the default configuration values
of mongoRealAuthenticator)
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Field Summary
Fields inherited from interface org.restheart.exchange.CORSHeaders
ACCESS_CONTROL_ALLOW_CREDENTIAL, ACCESS_CONTROL_ALLOW_HEADERS, ACCESS_CONTROL_ALLOW_METHODS, ACCESS_CONTROL_ALLOW_ORIGIN, ACCESS_CONTROL_EXPOSE_HEADERS, DEFALUT_ACCESS_CONTROL_ALLOW_CREDENTIALS, DEFALUT_ACCESS_CONTROL_ALLOW_HEADERS, DEFALUT_ACCESS_CONTROL_ALLOW_METHODS, DEFALUT_ACCESS_CONTROL_ALLOW_ORIGIN, DEFALUT_ACCESS_CONTROL_EXPOSE_HEADERS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.restheart.plugins.ConfigurablePlugin
arg, argOrDefaultMethods inherited from interface org.restheart.exchange.CORSHeaders
accessControlAllowCredentials, accessControlAllowHeaders, accessControlAllowMethods, accessControlAllowOrigin, accessControlExposeHeadersMethods inherited from interface org.restheart.plugins.ExchangeTypeResolver
requestType, responseTypeMethods inherited from interface org.restheart.plugins.JsonService
request, requestInitializer, response, responseInitializerMethods inherited from interface org.restheart.plugins.Service
handle, handleOptions, handleOptions
-
Constructor Details
-
UserVerifier
public UserVerifier()
-
-
Method Details
-
handle
- Specified by:
handlein interfaceService<JsonRequest,JsonResponse> - Throws:
Exception
-