Skip to content

Commit 8e368b9

Browse files
authored
Merge pull request #18 from corbado/fix-dependabot-alerts-1
Fix dependabot alerts #1
2 parents c3ea9f3 + 6d7be03 commit 8e368b9

File tree

123 files changed

+3703
-2073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+3703
-2073
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.2
1+
2.0.3

src/corbado_python_sdk/generated/__init__.py

Lines changed: 246 additions & 112 deletions
Large diffs are not rendered by default.

src/corbado_python_sdk/generated/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# import apis into api package
44
from corbado_python_sdk.generated.api.auth_events_api import AuthEventsApi
55
from corbado_python_sdk.generated.api.challenges_api import ChallengesApi
6+
from corbado_python_sdk.generated.api.client_envs_api import ClientEnvsApi
67
from corbado_python_sdk.generated.api.connect_tokens_api import ConnectTokensApi
78
from corbado_python_sdk.generated.api.identifiers_api import IdentifiersApi
89
from corbado_python_sdk.generated.api.passkey_challenges_api import PasskeyChallengesApi

src/corbado_python_sdk/generated/api/auth_events_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Corbado Backend API
55
6-
# Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.
6+
# Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.
77
88
The version of the OpenAPI document: 2.0.0
99
@@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None:
4343
@validate_call
4444
def auth_event_create(
4545
self,
46-
user_id: Annotated[StrictStr, Field(description="ID of user")],
46+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
4747
auth_event_create_req: AuthEventCreateReq,
4848
_request_timeout: Union[
4949
None,
@@ -62,7 +62,7 @@ def auth_event_create(
6262
6363
Create a new authentication event for a user
6464
65-
:param user_id: ID of user (required)
65+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
6666
:type user_id: str
6767
:param auth_event_create_req: (required)
6868
:type auth_event_create_req: AuthEventCreateReq
@@ -114,7 +114,7 @@ def auth_event_create(
114114
@validate_call
115115
def auth_event_create_with_http_info(
116116
self,
117-
user_id: Annotated[StrictStr, Field(description="ID of user")],
117+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
118118
auth_event_create_req: AuthEventCreateReq,
119119
_request_timeout: Union[
120120
None,
@@ -133,7 +133,7 @@ def auth_event_create_with_http_info(
133133
134134
Create a new authentication event for a user
135135
136-
:param user_id: ID of user (required)
136+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
137137
:type user_id: str
138138
:param auth_event_create_req: (required)
139139
:type auth_event_create_req: AuthEventCreateReq
@@ -185,7 +185,7 @@ def auth_event_create_with_http_info(
185185
@validate_call
186186
def auth_event_create_without_preload_content(
187187
self,
188-
user_id: Annotated[StrictStr, Field(description="ID of user")],
188+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
189189
auth_event_create_req: AuthEventCreateReq,
190190
_request_timeout: Union[
191191
None,
@@ -204,7 +204,7 @@ def auth_event_create_without_preload_content(
204204
205205
Create a new authentication event for a user
206206
207-
:param user_id: ID of user (required)
207+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
208208
:type user_id: str
209209
:param auth_event_create_req: (required)
210210
:type auth_event_create_req: AuthEventCreateReq

src/corbado_python_sdk/generated/api/challenges_api.py

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Corbado Backend API
55
6-
# Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.
6+
# Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.
77
88
The version of the OpenAPI document: 2.0.0
99
@@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None:
4444
@validate_call
4545
def challenge_create(
4646
self,
47-
user_id: Annotated[StrictStr, Field(description="ID of user")],
47+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
4848
challenge_create_req: ChallengeCreateReq,
4949
_request_timeout: Union[
5050
None,
@@ -59,11 +59,11 @@ def challenge_create(
5959
_headers: Optional[Dict[StrictStr, Any]] = None,
6060
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6161
) -> Challenge:
62-
"""challenge_create
62+
"""Create a challenge for a user
6363
64-
Create a new challenge to verify a login identifier
64+
Creates a new challenge to verify a login identifier for a user by given `userID`. Challenges come in three flavors: **Email OTP**, **SMS OTP**, and **Email Magiclink**. **OTP** stands for One-Time Password. It is a unique code sent to the user via email or SMS, which they must enter to complete the verification process.
6565
66-
:param user_id: ID of user (required)
66+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
6767
:type user_id: str
6868
:param challenge_create_req: (required)
6969
:type challenge_create_req: ChallengeCreateReq
@@ -115,7 +115,7 @@ def challenge_create(
115115
@validate_call
116116
def challenge_create_with_http_info(
117117
self,
118-
user_id: Annotated[StrictStr, Field(description="ID of user")],
118+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
119119
challenge_create_req: ChallengeCreateReq,
120120
_request_timeout: Union[
121121
None,
@@ -130,11 +130,11 @@ def challenge_create_with_http_info(
130130
_headers: Optional[Dict[StrictStr, Any]] = None,
131131
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
132132
) -> ApiResponse[Challenge]:
133-
"""challenge_create
133+
"""Create a challenge for a user
134134
135-
Create a new challenge to verify a login identifier
135+
Creates a new challenge to verify a login identifier for a user by given `userID`. Challenges come in three flavors: **Email OTP**, **SMS OTP**, and **Email Magiclink**. **OTP** stands for One-Time Password. It is a unique code sent to the user via email or SMS, which they must enter to complete the verification process.
136136
137-
:param user_id: ID of user (required)
137+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
138138
:type user_id: str
139139
:param challenge_create_req: (required)
140140
:type challenge_create_req: ChallengeCreateReq
@@ -186,7 +186,7 @@ def challenge_create_with_http_info(
186186
@validate_call
187187
def challenge_create_without_preload_content(
188188
self,
189-
user_id: Annotated[StrictStr, Field(description="ID of user")],
189+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
190190
challenge_create_req: ChallengeCreateReq,
191191
_request_timeout: Union[
192192
None,
@@ -201,11 +201,11 @@ def challenge_create_without_preload_content(
201201
_headers: Optional[Dict[StrictStr, Any]] = None,
202202
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
203203
) -> RESTResponseType:
204-
"""challenge_create
204+
"""Create a challenge for a user
205205
206-
Create a new challenge to verify a login identifier
206+
Creates a new challenge to verify a login identifier for a user by given `userID`. Challenges come in three flavors: **Email OTP**, **SMS OTP**, and **Email Magiclink**. **OTP** stands for One-Time Password. It is a unique code sent to the user via email or SMS, which they must enter to complete the verification process.
207207
208-
:param user_id: ID of user (required)
208+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
209209
:type user_id: str
210210
:param challenge_create_req: (required)
211211
:type challenge_create_req: ChallengeCreateReq
@@ -333,7 +333,7 @@ def _challenge_create_serialize(
333333
@validate_call
334334
def challenge_update(
335335
self,
336-
user_id: Annotated[StrictStr, Field(description="ID of user")],
336+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
337337
challenge_id: Annotated[StrictStr, Field(description="ID of challenge")],
338338
challenge_update_req: ChallengeUpdateReq,
339339
_request_timeout: Union[
@@ -349,11 +349,11 @@ def challenge_update(
349349
_headers: Optional[Dict[StrictStr, Any]] = None,
350350
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
351351
) -> Challenge:
352-
"""challenge_update
352+
"""Update a challenge for a user
353353
354-
Updates a challenge (e.g. from pending to completed)
354+
Updates a challenge for a user by given `userID` and `challengeID`. For example, this can be used to change the challenge status from `pending` to `completed`.
355355
356-
:param user_id: ID of user (required)
356+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
357357
:type user_id: str
358358
:param challenge_id: ID of challenge (required)
359359
:type challenge_id: str
@@ -408,7 +408,7 @@ def challenge_update(
408408
@validate_call
409409
def challenge_update_with_http_info(
410410
self,
411-
user_id: Annotated[StrictStr, Field(description="ID of user")],
411+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
412412
challenge_id: Annotated[StrictStr, Field(description="ID of challenge")],
413413
challenge_update_req: ChallengeUpdateReq,
414414
_request_timeout: Union[
@@ -424,11 +424,11 @@ def challenge_update_with_http_info(
424424
_headers: Optional[Dict[StrictStr, Any]] = None,
425425
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
426426
) -> ApiResponse[Challenge]:
427-
"""challenge_update
427+
"""Update a challenge for a user
428428
429-
Updates a challenge (e.g. from pending to completed)
429+
Updates a challenge for a user by given `userID` and `challengeID`. For example, this can be used to change the challenge status from `pending` to `completed`.
430430
431-
:param user_id: ID of user (required)
431+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
432432
:type user_id: str
433433
:param challenge_id: ID of challenge (required)
434434
:type challenge_id: str
@@ -483,7 +483,7 @@ def challenge_update_with_http_info(
483483
@validate_call
484484
def challenge_update_without_preload_content(
485485
self,
486-
user_id: Annotated[StrictStr, Field(description="ID of user")],
486+
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
487487
challenge_id: Annotated[StrictStr, Field(description="ID of challenge")],
488488
challenge_update_req: ChallengeUpdateReq,
489489
_request_timeout: Union[
@@ -499,11 +499,11 @@ def challenge_update_without_preload_content(
499499
_headers: Optional[Dict[StrictStr, Any]] = None,
500500
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
501501
) -> RESTResponseType:
502-
"""challenge_update
502+
"""Update a challenge for a user
503503
504-
Updates a challenge (e.g. from pending to completed)
504+
Updates a challenge for a user by given `userID` and `challengeID`. For example, this can be used to change the challenge status from `pending` to `completed`.
505505
506-
:param user_id: ID of user (required)
506+
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
507507
:type user_id: str
508508
:param challenge_id: ID of challenge (required)
509509
:type challenge_id: str

0 commit comments

Comments
 (0)