Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 03916c0

Browse files
committed
Put the work on device authorization on the backburner.
1 parent bd8439d commit 03916c0

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from oidcop.endpoint import Endpoint
77

88

9-
class AuthorizationEndpoint(Endpoint):
9+
class DeviceAuthorizationEndpoint(Endpoint):
1010
request_cls = AuthorizationRequest
1111
response_cls = AuthorizationResponse
1212
request_format = "urlencoded"
@@ -21,6 +21,9 @@ def __init__(self, server_get, **kwargs):
2121
self.expires_in = kwargs.get("expires_in", 300)
2222
self.interval = kwargs.get("interval", 5)
2323

24+
_context = server_get("endpoint_context")
25+
_context.dev_auth_db = {}
26+
2427
def process_request(self, request=None, **kwargs):
2528
"""
2629
Produces a device code and an end-user

src/oidcop/oauth2/add_on/device_authorization.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)