Skip to content

Commit 8c2d7ee

Browse files
authored
Add optional session_option[connection] param to docstring (#64)
1 parent b01235b commit 8c2d7ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

workos/passwordless.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ def create_session(self, session_options):
3232
restore application state between redirects.
3333
session_options[type] (str): The type of Passwordless Session to
3434
create. Currently, the only supported value is 'MagicLink'.
35+
session_options[connection] (str): Optional parameter for the ID of a
36+
specific connection. Can be used to create a Passwordless Session
37+
for a specific connection rather than using the domain from the email
38+
to determine the Organization and Connection.
3539
3640
Returns:
3741
dict: Passwordless Session

0 commit comments

Comments
 (0)