authentik.enterprise.endpoints.connectors.agent.views.apple_site_association
1from django.http import HttpRequest, HttpResponse, JsonResponse 2from django.views import View 3 4 5class AppleAppSiteAssociation(View): 6 def get(self, request: HttpRequest) -> HttpResponse: 7 return JsonResponse( 8 { 9 "authsrv": { 10 "apps": [ 11 "232G855Y8N.io.goauthentik.platform", 12 "232G855Y8N.io.goauthentik.platform.agent", 13 "232G855Y8N.io.goauthentik.platform.psso", 14 ] 15 } 16 } 17 )
class
AppleAppSiteAssociation(django.views.generic.base.View):
6class AppleAppSiteAssociation(View): 7 def get(self, request: HttpRequest) -> HttpResponse: 8 return JsonResponse( 9 { 10 "authsrv": { 11 "apps": [ 12 "232G855Y8N.io.goauthentik.platform", 13 "232G855Y8N.io.goauthentik.platform.agent", 14 "232G855Y8N.io.goauthentik.platform.psso", 15 ] 16 } 17 } 18 )
Intentionally simple parent class for all views. Only implements dispatch-by-method and simple sanity checking.