Skip to content

Commit ac1f6c6

Browse files
committed
Readme
1 parent 6dc68ac commit ac1f6c6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,12 @@ DEFAULTS = {
303303
# should take a user and return a tuple of two values. The first value is
304304
# the token itself, the second is a boolean value representating whether
305305
# the token was newly created.
306-
'PASSWORDLESS_AUTH_TOKEN_CREATOR': 'drfpasswordless.utils.create_authentication_token'
306+
'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+
307312
}
308313
```
309314

0 commit comments

Comments
 (0)