ElixirAuthGoogle.get_user_profile
You're seeing just the function
get_user_profile
, go back to ElixirAuthGoogle module for more information.
Link to this function
get_user_profile(token)
Specs
get_user_profile/1
requests the Google User's userinfo profile data
providing the access_token received in the get_token/1
above.
invokes parse_body_response/1
to decode the JSON data.
TODO: we still need to handle the various failure conditions >> issues/16 At this point the types of errors we expect are HTTP 40x/50x responses.