GitLabHeaderAuth (gitlab_header_auth v1.2.0) View Source

Plug that checks that the conn (normally caused by webhooks from GitLab) has the correct X-GitLab-Token header.

Link to this section Summary

Functions

Gets the token from the :gitlab_header_auth application, under :token, then checks the token passed in via the X-GitLab-Token header in the conn matches it.

Link to this section Functions

Gets the token from the :gitlab_header_auth application, under :token, then checks the token passed in via the X-GitLab-Token header in the conn matches it.