Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.2
2.0.3
358 changes: 246 additions & 112 deletions src/corbado_python_sdk/generated/__init__.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/corbado_python_sdk/generated/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# import apis into api package
from corbado_python_sdk.generated.api.auth_events_api import AuthEventsApi
from corbado_python_sdk.generated.api.challenges_api import ChallengesApi
from corbado_python_sdk.generated.api.client_envs_api import ClientEnvsApi
from corbado_python_sdk.generated.api.connect_tokens_api import ConnectTokensApi
from corbado_python_sdk.generated.api.identifiers_api import IdentifiersApi
from corbado_python_sdk.generated.api.passkey_challenges_api import PasskeyChallengesApi
Expand Down
14 changes: 7 additions & 7 deletions src/corbado_python_sdk/generated/api/auth_events_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Corbado Backend API

# Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.
# Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.

The version of the OpenAPI document: 2.0.0
Contact: support@corbado.com
Expand Down Expand Up @@ -43,7 +43,7 @@ def __init__(self, api_client=None) -> None:
@validate_call
def auth_event_create(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
auth_event_create_req: AuthEventCreateReq,
_request_timeout: Union[
None,
Expand All @@ -62,7 +62,7 @@ def auth_event_create(

Create a new authentication event for a user

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param auth_event_create_req: (required)
:type auth_event_create_req: AuthEventCreateReq
Expand Down Expand Up @@ -114,7 +114,7 @@ def auth_event_create(
@validate_call
def auth_event_create_with_http_info(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
auth_event_create_req: AuthEventCreateReq,
_request_timeout: Union[
None,
Expand All @@ -133,7 +133,7 @@ def auth_event_create_with_http_info(

Create a new authentication event for a user

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param auth_event_create_req: (required)
:type auth_event_create_req: AuthEventCreateReq
Expand Down Expand Up @@ -185,7 +185,7 @@ def auth_event_create_with_http_info(
@validate_call
def auth_event_create_without_preload_content(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
auth_event_create_req: AuthEventCreateReq,
_request_timeout: Union[
None,
Expand All @@ -204,7 +204,7 @@ def auth_event_create_without_preload_content(

Create a new authentication event for a user

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param auth_event_create_req: (required)
:type auth_event_create_req: AuthEventCreateReq
Expand Down
50 changes: 25 additions & 25 deletions src/corbado_python_sdk/generated/api/challenges_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Corbado Backend API

# Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.
# Introduction This documentation gives an overview of all Corbado Backend API calls to implement passwordless authentication with Passkeys.

The version of the OpenAPI document: 2.0.0
Contact: support@corbado.com
Expand Down Expand Up @@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None:
@validate_call
def challenge_create(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
challenge_create_req: ChallengeCreateReq,
_request_timeout: Union[
None,
Expand All @@ -59,11 +59,11 @@ def challenge_create(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Challenge:
"""challenge_create
"""Create a challenge for a user

Create a new challenge to verify a login identifier
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.

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param challenge_create_req: (required)
:type challenge_create_req: ChallengeCreateReq
Expand Down Expand Up @@ -115,7 +115,7 @@ def challenge_create(
@validate_call
def challenge_create_with_http_info(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
challenge_create_req: ChallengeCreateReq,
_request_timeout: Union[
None,
Expand All @@ -130,11 +130,11 @@ def challenge_create_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Challenge]:
"""challenge_create
"""Create a challenge for a user

Create a new challenge to verify a login identifier
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.

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param challenge_create_req: (required)
:type challenge_create_req: ChallengeCreateReq
Expand Down Expand Up @@ -186,7 +186,7 @@ def challenge_create_with_http_info(
@validate_call
def challenge_create_without_preload_content(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
challenge_create_req: ChallengeCreateReq,
_request_timeout: Union[
None,
Expand All @@ -201,11 +201,11 @@ def challenge_create_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""challenge_create
"""Create a challenge for a user

Create a new challenge to verify a login identifier
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.

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param challenge_create_req: (required)
:type challenge_create_req: ChallengeCreateReq
Expand Down Expand Up @@ -333,7 +333,7 @@ def _challenge_create_serialize(
@validate_call
def challenge_update(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
challenge_id: Annotated[StrictStr, Field(description="ID of challenge")],
challenge_update_req: ChallengeUpdateReq,
_request_timeout: Union[
Expand All @@ -349,11 +349,11 @@ def challenge_update(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Challenge:
"""challenge_update
"""Update a challenge for a user

Updates a challenge (e.g. from pending to completed)
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`.

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param challenge_id: ID of challenge (required)
:type challenge_id: str
Expand Down Expand Up @@ -408,7 +408,7 @@ def challenge_update(
@validate_call
def challenge_update_with_http_info(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
challenge_id: Annotated[StrictStr, Field(description="ID of challenge")],
challenge_update_req: ChallengeUpdateReq,
_request_timeout: Union[
Expand All @@ -424,11 +424,11 @@ def challenge_update_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Challenge]:
"""challenge_update
"""Update a challenge for a user

Updates a challenge (e.g. from pending to completed)
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`.

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param challenge_id: ID of challenge (required)
:type challenge_id: str
Expand Down Expand Up @@ -483,7 +483,7 @@ def challenge_update_with_http_info(
@validate_call
def challenge_update_without_preload_content(
self,
user_id: Annotated[StrictStr, Field(description="ID of user")],
user_id: Annotated[StrictStr, Field(description="Unique identifier of the user. Format: `usr-<number>`. ")],
challenge_id: Annotated[StrictStr, Field(description="ID of challenge")],
challenge_update_req: ChallengeUpdateReq,
_request_timeout: Union[
Expand All @@ -499,11 +499,11 @@ def challenge_update_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""challenge_update
"""Update a challenge for a user

Updates a challenge (e.g. from pending to completed)
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`.

:param user_id: ID of user (required)
:param user_id: Unique identifier of the user. Format: `usr-<number>`. (required)
:type user_id: str
:param challenge_id: ID of challenge (required)
:type challenge_id: str
Expand Down
Loading