Zuppler Users Client v0.0.5 ZupplerUsers.Auth.Oauth

This module defines the get_user_token method and provides functionality to get a valid token for accessing oauth protected endpoints.

Notes

  • The user id is requred to generate token.

Example:

{:ok, token} =  ZupplerUsers.Auth.Oauth.get_user_token("12345")

Summary

Functions

Loads user token from Users based on user id and client_id, client_secret for this app

Functions

get_user_token(user_id)

Loads user token from Users based on user id and client_id, client_secret for this app