This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-11-16 09:08:15 +00:00
|
|
|
"""GitLab Processor"""
|
2018-11-16 08:10:35 +00:00
|
|
|
|
2018-11-16 09:08:15 +00:00
|
|
|
from passbook.saml_idp.base import Processor
|
2018-11-16 08:10:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
class GitLabProcessor(Processor):
|
2018-11-16 09:08:15 +00:00
|
|
|
"""GitLab Response Handler Processor for testing against django-saml2-sp."""
|
2018-11-16 08:10:35 +00:00
|
|
|
|
|
|
|
def _determine_audience(self):
|
|
|
|
self._audience = self._remote.acs_url.replace('/users/auth/saml/callback', '')
|