PowAssent v0.3.2 PowAssent.Strategy.Gitlab View Source
Gitlab OAuth 2.0 strategy.
Usage
config :my_app, :pow_assent,
providers: [
gitlab: [
client_id: "REPLACE_WITH_CLIENT_ID",
client_secret: "REPLACE_WITH_CLIENT_SECRET",
strategy: PowAssent.Strategy.Gitlab
]
]
Link to this section Summary
Functions
Callback implementation for PowAssent.Strategy.OAuth2.Base.default_config/1
Callback implementation for PowAssent.Strategy.OAuth2.Base.get_user/2
Callback implementation for PowAssent.Strategy.OAuth2.Base.normalize/2
Link to this section Functions
Link to this function
authorize_url(config) View Source
Link to this function
callback(config, params) View Source
Link to this function
default_config(config) View Source
Callback implementation for PowAssent.Strategy.OAuth2.Base.default_config/1
.
Link to this function
get_user(config, token) View Source
Callback implementation for PowAssent.Strategy.OAuth2.Base.get_user/2
.
Link to this function
normalize(config, user) View Source
Callback implementation for PowAssent.Strategy.OAuth2.Base.normalize/2
.