We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dc68ac commit ac1f6c6Copy full SHA for ac1f6c6
README.md
@@ -303,7 +303,12 @@ DEFAULTS = {
303
# should take a user and return a tuple of two values. The first value is
304
# the token itself, the second is a boolean value representating whether
305
# the token was newly created.
306
- 'PASSWORDLESS_AUTH_TOKEN_CREATOR': 'drfpasswordless.utils.create_authentication_token'
+ 'PASSWORDLESS_AUTH_TOKEN_CREATOR': 'drfpasswordless.utils.create_authentication_token',
307
+
308
+ # What function is called to construct a serializer for drf tokens when
309
+ # exchanging a passwordless token for a real user auth token.
310
+ 'PASSWORDLESS_AUTH_TOKEN_SERIALIZER': 'drfpasswordless.serializers.TokenResponseSerializer'
311
312
}
313
```
314
0 commit comments