Ueberauth Typetalk v0.1.11 Ueberauth.Strategy.Typetalk
Provides an Ueberauth strategy for authenticating with Typetalk.
Link to this section Summary
Functions
Includes the credentials from the typetalk response
Stores the raw information (including the token) obtained from the typetalk callback
Cleans up the private area of the connection used for passing the raw Typetalk response around during the callback
Handles the initial redirect to the typetalk authentication page
Fetches the fields to populate the info section of the Ueberauth.Auth
struct
Fetches the account id field fron the response
Link to this section Functions
auth(conn)
credentials(conn)
Includes the credentials from the typetalk response.
default_options()
extra(conn)
Stores the raw information (including the token) obtained from the typetalk callback.
handle_cleanup!(conn)
Cleans up the private area of the connection used for passing the raw Typetalk response around during the callback.
handle_request!(conn)
Handles the initial redirect to the typetalk authentication page.
To customize the scope (permissions) that are requested by typetalk include them as part of your url:
"/oauth2/authorize?scope=my topic.read topic.post"
You can also include a state
param that typetalk will return to you.
info(conn)
Fetches the fields to populate the info section of the Ueberauth.Auth
struct.
Typetalk API docs: https://developer.nulab-inc.com/docs/typetalk/api/1/get-profile/
uid(conn)
Fetches the account id field fron the response.