Skip to content

Authentication components

Stub file for reflex_clerk_api/authentication_components.py

SignIn

Bases: ClerkBase

Source code in custom_components/reflex_clerk_api/authentication_components.py
4
5
6
7
class SignIn(ClerkBase):
    tag = "SignIn"

    path: str

create(*children, path=None, style=None, key=None, id=None, ref=None, class_name=None, custom_attrs=None, on_blur=None, on_click=None, on_context_menu=None, on_double_click=None, on_focus=None, on_mount=None, on_mouse_down=None, on_mouse_enter=None, on_mouse_leave=None, on_mouse_move=None, on_mouse_out=None, on_mouse_over=None, on_mouse_up=None, on_scroll=None, on_scroll_end=None, on_unmount=None, **props) classmethod

Create the component.

Parameters:

Name Type Description Default
*children

The children of the component.

()
style Sequence[Mapping[str, Any]] | Mapping[str, Any] | Var[Mapping[str, Any]] | Breakpoints | None

The style of the component.

None
key Any | None

A unique key for the component.

None
id Any | None

The id for the component.

None
ref Var | None

The Var to pass as the ref to the component.

None
class_name Any | None

The class name for the component.

None
custom_attrs dict[str, Var | Any] | None

custom attribute

None
**props

The props of the component.

{}

Returns:

Type Description
SignIn

The component.

SignUp

Bases: ClerkBase

Source code in custom_components/reflex_clerk_api/authentication_components.py
10
11
12
13
class SignUp(ClerkBase):
    tag = "SignUp"

    path: str

create(*children, path=None, style=None, key=None, id=None, ref=None, class_name=None, custom_attrs=None, on_blur=None, on_click=None, on_context_menu=None, on_double_click=None, on_focus=None, on_mount=None, on_mouse_down=None, on_mouse_enter=None, on_mouse_leave=None, on_mouse_move=None, on_mouse_out=None, on_mouse_over=None, on_mouse_up=None, on_scroll=None, on_scroll_end=None, on_unmount=None, **props) classmethod

Create the component.

Parameters:

Name Type Description Default
*children

The children of the component.

()
style Sequence[Mapping[str, Any]] | Mapping[str, Any] | Var[Mapping[str, Any]] | Breakpoints | None

The style of the component.

None
key Any | None

A unique key for the component.

None
id Any | None

The id for the component.

None
ref Var | None

The Var to pass as the ref to the component.

None
class_name Any | None

The class name for the component.

None
custom_attrs dict[str, Var | Any] | None

custom attribute

None
**props

The props of the component.

{}

Returns:

Type Description
SignUp

The component.