Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/authlib/authlib
/ functions
Functions
2,764 in github.com/authlib/authlib
⨍
Functions
2,764
◇
Types & classes
369
↳
Endpoints
41
Function
test_authenticated_client_controls_token_permissions
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:538
Function
test_authorization_none_grant
(test_client)
tests/flask/test_oauth2/test_oauth2_server.py:74
Function
test_authorization_pending
(test_client)
tests/flask/test_oauth2/test_device_code_grant.py:213
Function
test_authorize_access_token
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:195
Function
test_authorize_denied
(factory, plaintext_server)
tests/django/test_oauth1/test_authorize.py:37
Function
test_authorize_denied
(app, test_client, use_cache)
tests/flask/test_oauth1/test_authorize.py:51
Function
test_authorize_granted
(factory, plaintext_server)
tests/django/test_oauth1/test_authorize.py:82
Function
test_authorize_granted
(app, test_client, use_cache)
tests/flask/test_oauth1/test_authorize.py:92
Function
test_authorize_id_token
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:215
Function
test_authorize_tno_scope
(factory, server, token)
tests/django/test_oauth2/test_refresh_token.py:116
Function
test_authorize_token
(factory, server)
tests/django/test_oauth2/test_password_grant.py:153
Function
test_authorize_token
(factory, server)
tests/django/test_oauth2/test_client_credentials_grant.py:92
Function
test_authorize_token
(test_client, server)
tests/flask/test_oauth2/test_password_grant.py:178
Function
test_authorize_token
(test_client)
tests/flask/test_oauth2/test_client_credentials_grant.py:88
Function
test_authorize_token
(test_client)
tests/flask/test_oauth2/test_implicit_grant.py:78
Function
test_authorize_token
(test_client)
tests/flask/test_oauth2/test_jwt_bearer_grant.py:85
Function
test_authorize_token
(test_client, server)
tests/flask/test_oauth2/test_openid_code_grant.py:79
Function
test_authorize_token_algs
(test_client, server, app, alg, private_key, public_key)
tests/flask/test_oauth2/test_openid_code_grant.py:438
Function
test_authorize_token_has_refresh_token
(app, test_client, client, db, server)
tests/flask/test_oauth2/test_authorization_code_grant.py:238
Function
test_authorize_token_no_refresh_token
(app, test_client, client, db, server)
tests/flask/test_oauth2/test_authorization_code_grant.py:205
Function
test_authorize_token_no_scope
(test_client, token)
tests/flask/test_oauth2/test_refresh_token.py:189
Function
test_authorize_token_scope
(factory, server, token)
tests/django/test_oauth2/test_refresh_token.py:131
Function
test_authorize_token_scope
(test_client, token)
tests/flask/test_oauth2/test_refresh_token.py:203
Function
test_auto_refresh_token
(token)
tests/clients/test_requests/test_oauth2_session.py:445
Function
test_auto_refresh_token
()
tests/clients/test_httpx/test_oauth2_client.py:301
Function
test_auto_refresh_token
()
tests/clients/test_httpx/test_async_oauth2_client.py:309
Function
test_auto_refresh_token2
(token)
tests/clients/test_requests/test_oauth2_session.py:465
Function
test_auto_refresh_token2
()
tests/clients/test_httpx/test_oauth2_client.py:335
Function
test_auto_refresh_token2
()
tests/clients/test_httpx/test_async_oauth2_client.py:344
Function
test_auto_refresh_token3
()
tests/clients/test_httpx/test_oauth2_client.py:368
Function
test_auto_refresh_token3
()
tests/clients/test_httpx/test_async_oauth2_client.py:378
Function
test_auto_refresh_token4
()
tests/clients/test_httpx/test_async_oauth2_client.py:402
Function
test_bad_signature
()
tests/jose/test_jws.py:41
Function
test_bad_token
(test_client)
tests/flask/test_oauth2/test_userinfo.py:162
Function
test_base_get_audiences_raises_not_implemented
The base ``IDJAGGrant.get_audiences`` must be overridden by application subclasses; the default raises ``NotImplementedError``.
tests/core/test_oauth2/test_id_jag.py:497
Function
test_binary_upload
(generate_nonce, generate_timestamp)
tests/clients/test_requests/test_oauth1_session.py:100
Function
test_claims_set
()
tests/core/test_oauth2/test_rfc7523_private_key.py:45
Function
test_claims_set
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:39
Function
test_claims_with_other_fields_still_gets_jti
()
tests/core/test_oauth2/test_rfc7523_assertion.py:50
Function
test_cleans_previous_token_before_fetching_new_one
Makes sure the previous token is cleaned before fetching a new one. The reason behind it is that, if the previous token is expired, this metho
tests/clients/test_requests/test_oauth2_session.py:321
Function
test_cleans_previous_token_before_fetching_new_one
()
tests/clients/test_httpx/test_oauth2_client.py:281
Function
test_cleans_previous_token_before_fetching_new_one
()
tests/clients/test_httpx/test_async_oauth2_client.py:286
Function
test_client
(app)
tests/flask/test_oauth2/conftest.py:50
Function
test_client
(app, db)
tests/flask/test_oauth1/conftest.py:37
Function
test_client_credentials_type
(token)
tests/clients/test_requests/test_oauth2_session.py:300
Function
test_client_credentials_type
()
tests/clients/test_httpx/test_oauth2_client.py:264
Function
test_client_credentials_type
()
tests/clients/test_httpx/test_async_oauth2_client.py:267
Function
test_client_id
()
tests/core/test_oauth2/test_rfc7662.py:6
Function
test_client_id
client_id is included in the token request body when provided.
tests/clients/test_httpx/test_assertion_client.py:56
Function
test_client_id
client_id is included in the token request body when provided.
tests/clients/test_httpx/test_async_assertion_client.py:58
Function
test_client_id_matches_aud_list
client_id matches when aud is a list containing it.
tests/flask/test_oauth2/test_end_session.py:288
Function
test_client_id_mismatch
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:352
Function
test_client_id_mismatch_error
client_id not matching aud claim returns error.
tests/flask/test_oauth2/test_end_session.py:267
Function
test_client_id_not_in_aud_list_error
client_id not in aud list returns error.
tests/flask/test_oauth2/test_end_session.py:304
Function
test_client_metadata_alg_none
The 'none' 'id_token_signed_response_alg' alg should be forbidden in non implicit flows.
tests/flask/test_oauth2/test_openid_implict_grant.py:356
Function
test_client_metadata_alg_none
The 'none' 'id_token_signed_response_alg' alg should be supported in non implicit flows.
tests/flask/test_oauth2/test_openid_code_grant.py:356
Function
test_client_metadata_custom_alg
If the client metadata 'id_token_signed_response_alg' is defined, it should be used to sign id_tokens.
tests/flask/test_oauth2/test_openid_implict_grant.py:323
Function
test_client_metadata_custom_alg
The client metadata 'id_token_signed_response_alg' must take precedence over the server-wide ``get_jwt_config()`` ``alg``.
tests/flask/test_oauth2/test_openid_code_grant.py:251
Function
test_client_not_resolved_from_aud_list
Client is not resolved from aud list (ambiguous).
tests/flask/test_oauth2/test_end_session.py:375
Function
test_client_require_signed_request_object
When client metadata 'require_signed_request_object' is true, request objects must be used.
tests/flask/test_oauth2/test_jwt_authorization_request.py:247
Function
test_client_require_signed_request_object_alg_none
When client metadata 'require_signed_request_object' is true, the JWT alg cannot be none.
tests/flask/test_oauth2/test_jwt_authorization_request.py:277
Function
test_client_resolved_from_single_aud
Client is resolved from single aud claim.
tests/flask/test_oauth2/test_end_session.py:362
Function
test_client_resolved_with_explicit_client_id
Client is resolved when client_id is provided explicitly.
tests/flask/test_oauth2/test_end_session.py:395
Function
test_client_secret_basic_saves_authenticated_client_id
(test_client, db, client)
tests/flask/test_oauth2/test_device_code_grant.py:246
Function
test_client_secret_jwt
(test_client, server)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:140
Function
test_client_secret_jwt
(token)
tests/clients/test_requests/test_oauth2_session.py:537
Function
test_client_secret_jwt2
(token)
tests/clients/test_requests/test_oauth2_session.py:546
Function
test_client_secret_post
(app, test_client, client, db, server)
tests/flask/test_oauth2/test_authorization_code_grant.py:286
Function
test_client_secret_post_client_with_basic_auth
A client registered with client_secret_post can revoke with HTTP Basic.
tests/flask/test_oauth2/test_revocation_endpoint.py:171
Function
test_clock_skew_within_leeway
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:396
Function
test_code_access_token
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:256
Function
test_code_challenge
()
tests/clients/test_requests/test_oauth2_session.py:135
Function
test_code_challenge
()
tests/clients/test_httpx/test_oauth2_client.py:99
Function
test_code_challenge
()
tests/clients/test_httpx/test_async_oauth2_client.py:125
Function
test_code_id_token
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:292
Function
test_code_id_token_access_token
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:332
Function
test_code_verifier_without_code_challenge
RFC 9700 Section 4.8.2: the authorization server MUST ensure that if there was no code_challenge in the authorization request, a request to th
tests/flask/test_oauth2/test_code_challenge.py:118
Function
test_compact_jws
()
tests/jose/test_jws.py:60
Function
test_compact_none
()
tests/jose/test_jws.py:103
Function
test_compact_rsa
()
tests/jose/test_jws.py:70
Function
test_compact_rsa
()
tests/jose/test_jwe.py:171
Function
test_compact_rsa_pss
()
tests/jose/test_jws.py:89
Function
test_compatible_claims_copy_client_claims
The ID token claims do not modify the dict of get_client_claims.
tests/core/test_oidc/test_core.py:209
Function
test_confidential_client
(test_client, db, client)
tests/flask/test_oauth2/test_implicit_grant.py:35
Function
test_confidential_client_without_secret
A confidential client cannot authenticate with its client_id only.
tests/django/test_oauth2/test_revocation_endpoint.py:126
Function
test_confidential_client_without_secret
A confidential client cannot authenticate with its client_id only.
tests/flask/test_oauth2/test_introspection_endpoint.py:160
Function
test_confidential_client_without_secret
A confidential client cannot authenticate with its client_id only.
tests/flask/test_oauth2/test_device_code_grant.py:270
Function
test_confidential_client_without_secret
A confidential client cannot authenticate with its client_id only.
tests/flask/test_oauth2/test_revocation_endpoint.py:149
Function
test_confirmation_bypassed_with_id_token
With valid id_token_hint, no confirmation needed.
tests/flask/test_oauth2/test_end_session.py:230
Function
test_confirmation_shown_without_id_token
Without id_token_hint, confirmation page is shown on GET.
tests/flask/test_oauth2/test_end_session.py:220
Function
test_consent_view
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:60
Function
test_create_authorization_response
(factory, server)
tests/django/test_oauth2/test_implicit_grant.py:62
Function
test_create_authorization_response
(factory, server)
tests/django/test_oauth2/test_authorization_code_grant.py:105
Function
test_create_authorization_response
(test_client)
tests/flask/test_oauth2/test_device_code_grant.py:289
Function
test_create_authorization_url
()
tests/clients/test_requests/test_oauth1_session.py:157
Function
test_create_authorization_url
()
tests/clients/test_requests/test_oauth2_session.py:116
Function
test_create_authorization_url
()
tests/clients/test_httpx/test_oauth2_client.py:80
Function
test_create_authorization_url
()
tests/clients/test_httpx/test_async_oauth2_client.py:106
Function
test_create_client
(test_client)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:69
Function
test_create_client
()
tests/clients/test_flask/test_oauth_client.py:101
← previous
next →
1,701–1,800 of 2,764, ranked by callers