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

Commit aea4b54

Browse files
authored
Update test_01_grant.py
token_type -> token_class
1 parent afbf9c3 commit aea4b54

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/test_01_grant.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def test_assigned_scope(self):
448448
code = grant.mint_token(
449449
session_id,
450450
endpoint_context=self.endpoint_context,
451-
token_type="authorization_code",
451+
token_class="authorization_code",
452452
token_handler=TOKEN_HANDLER["authorization_code"],
453453
)
454454

@@ -457,7 +457,7 @@ def test_assigned_scope(self):
457457
access_token = grant.mint_token(
458458
session_id,
459459
endpoint_context=self.endpoint_context,
460-
token_type="access_token",
460+
token_class="access_token",
461461
token_handler=TOKEN_HANDLER["access_token"],
462462
based_on=code,
463463
)
@@ -473,7 +473,7 @@ def test_assigned_scope_2nd(self):
473473
code = grant.mint_token(
474474
session_id,
475475
endpoint_context=self.endpoint_context,
476-
token_type="authorization_code",
476+
token_class="authorization_code",
477477
token_handler=TOKEN_HANDLER["authorization_code"],
478478
)
479479

@@ -482,15 +482,15 @@ def test_assigned_scope_2nd(self):
482482
refresh_token = grant.mint_token(
483483
session_id,
484484
endpoint_context=self.endpoint_context,
485-
token_type="refresh_token",
485+
token_class="refresh_token",
486486
token_handler=TOKEN_HANDLER["refresh_token"],
487487
based_on=code,
488488
)
489489

490490
access_token = grant.mint_token(
491491
session_id,
492492
endpoint_context=self.endpoint_context,
493-
token_type="access_token",
493+
token_class="access_token",
494494
token_handler=TOKEN_HANDLER["access_token"],
495495
based_on=refresh_token,
496496
)
@@ -502,7 +502,7 @@ def test_assigned_scope_2nd(self):
502502
access_token = grant.mint_token(
503503
session_id,
504504
endpoint_context=self.endpoint_context,
505-
token_type="access_token",
505+
token_class="access_token",
506506
token_handler=TOKEN_HANDLER["access_token"],
507507
based_on=refresh_token,
508508
)

0 commit comments

Comments
 (0)