Pleroma v1.1.9-10-g42f76306+dev Pleroma.Web.Auth.PleromaAuthenticator View Source

Link to this section Summary

Functions

Creates Pleroma.User record basing on params and Pleroma.Registration record.

Gets or creates Pleroma.Registration record from Ueberauth assigns. Note: some strategies (like keycloak) might need extra configuration to fill uid from callback response — see docs/config.md.

Link to this section Functions

Callback implementation for Pleroma.Web.Auth.Authenticator.auth_template/0.

Link to this function

create_from_registration(conn, registration)

View Source

Creates Pleroma.User record basing on params and Pleroma.Registration record.

Gets or creates Pleroma.Registration record from Ueberauth assigns. Note: some strategies (like keycloak) might need extra configuration to fill uid from callback response — see docs/config.md.

Callback implementation for Pleroma.Web.Auth.Authenticator.get_user/1.

Link to this function

handle_error(conn, error)

View Source

Callback implementation for Pleroma.Web.Auth.Authenticator.handle_error/2.

Link to this function

oauth_consumer_template()

View Source

Callback implementation for Pleroma.Web.Auth.Authenticator.oauth_consumer_template/0.