Method searches user in oAuth.
See service spesification. - добавить ссылку + курл
Authorize
- Verify the validity of access token
- Check user scop in order to perform this action
- In case error - return 401 error
Get email from employee request
- Get request_id from activation link
- Invoke private method Get Employee Request by ID and search email in request details
- if request not found - return 404 error
- if request found - search user in oAuth
Search user in oAuth
Search user in oAuth by email.
Invoke WS - добавить имя метода + ссылка на apiary