MCPcopy Create free account
hub / github.com/lesspass/lesspass / EncryptedPasswordProfileViewSet

Class EncryptedPasswordProfileViewSet

containers/backend/api/views.py:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23
24class EncryptedPasswordProfileViewSet(viewsets.ModelViewSet):
25 serializer_class = serializers.EncryptedPasswordProfileSerializer
26 permission_classes = (
27 permissions.IsAuthenticated,
28 IsOwner,
29 )
30
31 def get_queryset(self):
32 return models.EncryptedPasswordProfile.objects.filter(user=self.request.user)
33
34
35class BackwardCompatibleTokenObtainPairView(TokenObtainPairView):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected