Skip to content

Commit

Permalink
Apply suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
blairworkos committed Nov 30, 2023
1 parent 8c2a1b3 commit 052796c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion workos/resources/user_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class WorkOSAuthenticationResponse(WorkOSBaseResource):
"""Representation of a User and Organization ID response as returned by WorkOS through User Management features."""

"""Attributes:
OBJECT_FIELDS (list): List of fields a WorkOSInvitation comprises.
OBJECT_FIELDS (list): List of fields a WorkOSAuthenticationResponse comprises.
"""

OBJECT_FIELDS = [
Expand Down
5 changes: 2 additions & 3 deletions workos/user_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def authenticate_with_password(
ip_address=None,
user_agent=None,
):
"""Authenticates a user with email and password and optionally creates a session.
"""Authenticates a user with email and password.
Kwargs:
email (str): The email address of the user.
Expand Down Expand Up @@ -387,8 +387,7 @@ def authenticate_with_code(
ip_address=None,
user_agent=None,
):
"""Authenticates an OAuth user or a managed SSO user that is logging in through SSO,
and optionally creates a session.
"""Authenticates an OAuth user or a managed SSO user that is logging in through SSO.
Kwargs:
code (str): The authorization value which was passed back as a query parameter in the callback to the Redirect URI.
Expand Down

0 comments on commit 052796c

Please sign in to comment.