Skip to content

Commit 51c47f2

Browse files
Henry Chanhenrylamchan
authored andcommitted
Stub method for promoting Draft Connections
1 parent cbe5ce2 commit 51c47f2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

workos/sso.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,15 @@ def get_profile(self, code):
9898
)
9999

100100
return WorkOSProfile.construct_from_response(response)
101+
102+
def promote_draft_connection(self):
103+
"""Promote a Draft Connection
104+
105+
Promotes a Draft Connection created through the IdP Link embed. A Draft Connection that has
106+
been promoted will enable Enterprise users of the domain to begin signing in via SSO.
107+
108+
Args:
109+
token (str): The token supplied via the response when a draft connection is created via
110+
the Idp Link embed
111+
"""
112+
pass

0 commit comments

Comments
 (0)