Add support for the refresh_token grant type (RefreshTokenGrant) (#11… (#11206)

Add support for the refresh_token grant type (RefreshTokenGrant).
This commit is contained in:
George Fourtounis
2024-01-04 13:24:57 +02:00
committed by GitHub
parent 5e66eb5940
commit 3f57017aaf
2 changed files with 11 additions and 0 deletions

View File

@@ -7,3 +7,4 @@ from .dispatchers import (
)
from .hybrid import HybridGrant as HybridGrant
from .implicit import ImplicitGrant as ImplicitGrant
from .refresh_token import RefreshTokenGrant as RefreshTokenGrant

View File

@@ -0,0 +1,10 @@
from _typeshed import Incomplete
from .base import GrantTypeBase
log: Incomplete
class RefreshTokenGrant(GrantTypeBase):
proxy_target: Incomplete
def __init__(self, request_validator: Incomplete | None = None, **kwargs) -> None: ...
def add_id_token(self, token, token_handler, request): ...