Ueberauth Reddit v0.1.0 Ueberauth.Strategy.Reddit View Source
Reddit strategy for Überauth.
Link to this section Summary
Functions
Provides the credentials for the user
Provides the extra params for the user
Handles initial request for Reddit authentication
Provides the info for the user
Provides the uid for the user
Link to this section Functions
credentials(Plug.Conn.t()) :: Ueberauth.Auth.Credentials.t()
Provides the credentials for the user.
This is one of the component functions that is used to construct the auth
struct. What you return here will be in the auth struct at the credentials
key.
Callback implementation for Ueberauth.Strategy.credentials/1
.
Provides the extra params for the user.
This is one of the component functions that is used to construct the auth
struct. What you return here will be in the auth struct at the extra
key.
You would include any additional information within extra that does not fit
in either info
or credentials
Callback implementation for Ueberauth.Strategy.extra/1
.
handle_request!(Plug.Conn.t()) :: Plug.Conn.t()
Handles initial request for Reddit authentication.
Provides the info for the user.
This is one of the component functions that is used to construct the auth
struct. What you return here will be in the auth struct at the info
key.
Callback implementation for Ueberauth.Strategy.info/1
.
Provides the uid for the user.
This is one of the component functions that is used to construct the auth
struct. What you return here will be in the auth struct at the uid
key.
Callback implementation for Ueberauth.Strategy.uid/1
.