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

Link to this function

credentials(conn)

Includes the credentials from the typetalk response.

Link to this function

default_options()

Stores the raw information (including the token) obtained from the typetalk callback.

Link to this function

handle_cleanup!(conn)

Cleans up the private area of the connection used for passing the raw Typetalk response around during the callback.

Link to this function

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.

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/

Fetches the account id field fron the response.