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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -