keratin / authn-go

Go client library for Keratin AuthN
https://github.com/keratin/authn-server
GNU Lesser General Public License v3.0
32 stars 10 forks source link

how do you get users details? #7

Closed k1ng440 closed 5 years ago

k1ng440 commented 6 years ago

this client seems to be nothing like ruby client. how to make calls to authn?

shashankmehra commented 6 years ago

The HTTP API layer has not been implemented yet. Only JWT components have been.

Once you get your user's id using authn.SubjectFrom you can use any HTTP client on this API to get user's authn details: https://github.com/keratin/authn-server/blob/master/docs/api.md#get-account

Or you could contribute HTTP helper functions for the same. I dont think anyone is working on them as of now.

k1ng440 commented 6 years ago

i am working on it.