reflex-google-auth 0.0.9a1__tar.gz → 0.0.9a3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/.github/workflows/publish.yml +6 -3
- {reflex_google_auth-0.0.9a1/custom_components/reflex_google_auth.egg-info → reflex_google_auth-0.0.9a3}/PKG-INFO +1 -1
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3/custom_components/reflex_google_auth.egg-info}/PKG-INFO +1 -1
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/custom_components/reflex_google_auth.egg-info/SOURCES.txt +0 -1
- reflex_google_auth-0.0.9a1/custom_components/reflex_google_auth/google_auth.pyi +0 -24
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/.gitignore +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/README.md +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/custom_components/reflex_google_auth/__init__.py +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/custom_components/reflex_google_auth/decorator.py +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/custom_components/reflex_google_auth/google_auth.py +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/custom_components/reflex_google_auth/state.py +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/custom_components/reflex_google_auth.egg-info/dependency_links.txt +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/custom_components/reflex_google_auth.egg-info/requires.txt +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/custom_components/reflex_google_auth.egg-info/top_level.txt +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/google_auth_demo/.gitignore +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/google_auth_demo/assets/favicon.ico +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/google_auth_demo/google_auth_demo/__init__.py +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/google_auth_demo/google_auth_demo/google_auth_demo.py +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/google_auth_demo/requirements.txt +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/google_auth_demo/rxconfig.py +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/pyproject.toml +0 -0
- {reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/setup.cfg +0 -0
@@ -17,25 +17,28 @@ jobs:
|
|
17
17
|
python-version: "3.12"
|
18
18
|
- name: Install package
|
19
19
|
run: pip install .
|
20
|
+
- name: Install latest reflex
|
21
|
+
run: pip install 'git+https://github.com/reflex-dev/reflex@masenf/custom-component-publish-dynamic-version'
|
20
22
|
- name: Publish to PyPI
|
21
23
|
run: reflex component publish -t ${{ secrets.PYPI_TOKEN }} --no-share --no-validate-project-info
|
22
24
|
deploy:
|
23
25
|
name: Deploy Demo App to Reflex Cloud
|
24
26
|
runs-on: ubuntu-latest
|
27
|
+
needs: publish
|
25
28
|
steps:
|
26
29
|
- uses: actions/checkout@master
|
27
30
|
- name: Set up Python 3.12
|
28
31
|
uses: actions/setup-python@v3
|
29
32
|
with:
|
30
33
|
python-version: "3.12"
|
31
|
-
- name: Set
|
32
|
-
run: sed -
|
34
|
+
- name: Set tagged version for deploy
|
35
|
+
run: sed -E "s/^reflex-google-auth([ >=].*)?$/reflex-google-auth==${{ github.event.release.tag_name }}/" -i google_auth_demo/requirements.txt
|
33
36
|
- name: Deploy to ReflexCloud
|
34
37
|
uses: reflex-dev/reflex-deploy-action@v2
|
35
38
|
with:
|
36
39
|
auth_token: ${{ secrets.REFLEX_AUTH_TOKEN }}
|
37
40
|
project_id: ${{ secrets.REFLEX_PROJECT_ID }}
|
38
41
|
app_directory: google_auth_demo
|
39
|
-
extra_args:
|
42
|
+
extra_args: "--hostname google-auth-demo --env GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }} --env GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }} --env GOOGLE_REDIRECT_URI=${{ secrets.GOOGLE_REDIRECT_URI }}"
|
40
43
|
dry_run: ${{ vars.DRY_RUN }}
|
41
44
|
skip_checkout: "true"
|
@@ -5,7 +5,6 @@ pyproject.toml
|
|
5
5
|
custom_components/reflex_google_auth/__init__.py
|
6
6
|
custom_components/reflex_google_auth/decorator.py
|
7
7
|
custom_components/reflex_google_auth/google_auth.py
|
8
|
-
custom_components/reflex_google_auth/google_auth.pyi
|
9
8
|
custom_components/reflex_google_auth/state.py
|
10
9
|
custom_components/reflex_google_auth.egg-info/PKG-INFO
|
11
10
|
custom_components/reflex_google_auth.egg-info/SOURCES.txt
|
@@ -1,24 +0,0 @@
|
|
1
|
-
from typing import Any, Dict, Literal, Optional, Union, overload
|
2
|
-
from reflex.vars import Var, BaseVar, ComputedVar
|
3
|
-
from reflex.event import EventChain, EventHandler, EventSpec
|
4
|
-
from reflex.style import Style
|
5
|
-
import reflex as rx
|
6
|
-
from .state import GoogleAuthState
|
7
|
-
|
8
|
-
class GoogleOAuthProvider(rx.Component):
|
9
|
-
|
10
|
-
@overload
|
11
|
-
@classmethod
|
12
|
-
def create(cls, *children, client_id: Optional[Union[Var[str], str]]=None, style: Optional[Style]=None, key: Optional[Any]=None, id: Optional[Any]=None, class_name: Optional[Any]=None, autofocus: Optional[bool]=None, custom_attrs: Optional[Dict[str, Union[Var, str]]]=None, on_blur: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_click: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_context_menu: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_double_click: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_focus: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mount: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_down: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_enter: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_leave: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_move: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_out: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_over: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_up: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_scroll: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_unmount: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, **props) -> 'GoogleOAuthProvider':
|
13
|
-
""""""
|
14
|
-
...
|
15
|
-
google_oauth_provider = GoogleOAuthProvider.create
|
16
|
-
|
17
|
-
class GoogleLogin(rx.Component):
|
18
|
-
|
19
|
-
@overload
|
20
|
-
@classmethod
|
21
|
-
def create(cls, *children, on_success: Optional[EventHandler[Any]]=None, style: Optional[Style]=None, key: Optional[Any]=None, id: Optional[Any]=None, class_name: Optional[Any]=None, autofocus: Optional[bool]=None, custom_attrs: Optional[Dict[str, Union[Var, str]]]=None, on_blur: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_click: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_context_menu: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_double_click: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_focus: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mount: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_down: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_enter: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_leave: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_move: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_out: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_over: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_mouse_up: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_scroll: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_success: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, on_unmount: Optional[Union[EventHandler, EventSpec, list, function, BaseVar]]=None, **props) -> 'GoogleLogin':
|
22
|
-
""""""
|
23
|
-
...
|
24
|
-
google_login = GoogleLogin.create
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{reflex_google_auth-0.0.9a1 → reflex_google_auth-0.0.9a3}/google_auth_demo/assets/favicon.ico
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|