View Source Ueberauth.Strategy.Amco.API (ueberauth_amco v0.1.0)

Link to this section Summary

Functions

Authorizes the user using the access token provided in the request. It calls the OpenID Connect Provider and verifies that the access_token is valid and has not expired.

Link to this section Functions

Link to this function

authorize_access_token(token)

View Source

Authorizes the user using the access token provided in the request. It calls the OpenID Connect Provider and verifies that the access_token is valid and has not expired.

examples

Examples

iex> authorize_access_token("bGWcAKadGrBwM...")
{:ok, response}

iex> authorize_access_token("InvalidAccessToken")
{:error, :invalid}