View Source Bonfire.API.GraphQL.Auth (bonfire v0.3.5-classic-beta.10)

Link to this section Summary

Functions

Resolver for login mutation for Bonfire.API.GraphQL.CommonSchema

Puts the account/user data in Absinthe context (runs after on login/3 resolver)

Sets session cookie based on the Absinthe context set in set_context_from_resolution/2 (called from router's absinthe_before_send/2 )

Link to this section Functions

Resolver for login mutation for Bonfire.API.GraphQL.CommonSchema

Link to this function

select_user(_, attrs, info)

View Source
Link to this function

set_context_from_resolution(resolution, _)

View Source

Puts the account/user data in Absinthe context (runs after on login/3 resolver)

Link to this function

set_session_from_context(conn, arg2)

View Source

Sets session cookie based on the Absinthe context set in set_context_from_resolution/2 (called from router's absinthe_before_send/2 )

Link to this function

user_by(username, account)

View Source