api - Implementing Two-Legged Oauth2 in ZendFramework 2 with Apigility -
i trying build zendframework2 rest api , want implement two-legged oauth2 authentication.
i have been looking around , can not find resources point me in right direction this.
has done before or know of source missing?
in oauth
can make access tokens client specific assigning client_id
. client_id
can stored in local storage on client side , reused on next user login client.
when user logs in first time new client (no client_id
in storage user) new client_id
created , 2nd verification step can added part of authentication process. example sending text message phone number. add expires_at
field client table can repeat process if client_id
has expired.
Comments
Post a Comment