MCPcopy Create free account

hub / github.com/authlib/authlib / functions

Functions2,764 in github.com/authlib/authlib

Functiontest_authenticated_client_controls_token_permissions
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:538
Functiontest_authorization_none_grant
(test_client)
tests/flask/test_oauth2/test_oauth2_server.py:74
Functiontest_authorization_pending
(test_client)
tests/flask/test_oauth2/test_device_code_grant.py:213
Functiontest_authorize_access_token
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:195
Functiontest_authorize_denied
(factory, plaintext_server)
tests/django/test_oauth1/test_authorize.py:37
Functiontest_authorize_denied
(app, test_client, use_cache)
tests/flask/test_oauth1/test_authorize.py:51
Functiontest_authorize_granted
(factory, plaintext_server)
tests/django/test_oauth1/test_authorize.py:82
Functiontest_authorize_granted
(app, test_client, use_cache)
tests/flask/test_oauth1/test_authorize.py:92
Functiontest_authorize_id_token
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:215
Functiontest_authorize_tno_scope
(factory, server, token)
tests/django/test_oauth2/test_refresh_token.py:116
Functiontest_authorize_token
(factory, server)
tests/django/test_oauth2/test_password_grant.py:153
Functiontest_authorize_token
(factory, server)
tests/django/test_oauth2/test_client_credentials_grant.py:92
Functiontest_authorize_token
(test_client, server)
tests/flask/test_oauth2/test_password_grant.py:178
Functiontest_authorize_token
(test_client)
tests/flask/test_oauth2/test_client_credentials_grant.py:88
Functiontest_authorize_token
(test_client)
tests/flask/test_oauth2/test_implicit_grant.py:78
Functiontest_authorize_token
(test_client)
tests/flask/test_oauth2/test_jwt_bearer_grant.py:85
Functiontest_authorize_token
(test_client, server)
tests/flask/test_oauth2/test_openid_code_grant.py:79
Functiontest_authorize_token_algs
(test_client, server, app, alg, private_key, public_key)
tests/flask/test_oauth2/test_openid_code_grant.py:438
Functiontest_authorize_token_has_refresh_token
(app, test_client, client, db, server)
tests/flask/test_oauth2/test_authorization_code_grant.py:238
Functiontest_authorize_token_no_refresh_token
(app, test_client, client, db, server)
tests/flask/test_oauth2/test_authorization_code_grant.py:205
Functiontest_authorize_token_no_scope
(test_client, token)
tests/flask/test_oauth2/test_refresh_token.py:189
Functiontest_authorize_token_scope
(factory, server, token)
tests/django/test_oauth2/test_refresh_token.py:131
Functiontest_authorize_token_scope
(test_client, token)
tests/flask/test_oauth2/test_refresh_token.py:203
Functiontest_auto_refresh_token
(token)
tests/clients/test_requests/test_oauth2_session.py:445
Functiontest_auto_refresh_token
()
tests/clients/test_httpx/test_oauth2_client.py:301
Functiontest_auto_refresh_token
()
tests/clients/test_httpx/test_async_oauth2_client.py:309
Functiontest_auto_refresh_token2
(token)
tests/clients/test_requests/test_oauth2_session.py:465
Functiontest_auto_refresh_token2
()
tests/clients/test_httpx/test_oauth2_client.py:335
Functiontest_auto_refresh_token2
()
tests/clients/test_httpx/test_async_oauth2_client.py:344
Functiontest_auto_refresh_token3
()
tests/clients/test_httpx/test_oauth2_client.py:368
Functiontest_auto_refresh_token3
()
tests/clients/test_httpx/test_async_oauth2_client.py:378
Functiontest_auto_refresh_token4
()
tests/clients/test_httpx/test_async_oauth2_client.py:402
Functiontest_bad_signature
()
tests/jose/test_jws.py:41
Functiontest_bad_token
(test_client)
tests/flask/test_oauth2/test_userinfo.py:162
Functiontest_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
Functiontest_binary_upload
(generate_nonce, generate_timestamp)
tests/clients/test_requests/test_oauth1_session.py:100
Functiontest_claims_set
()
tests/core/test_oauth2/test_rfc7523_private_key.py:45
Functiontest_claims_set
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:39
Functiontest_claims_with_other_fields_still_gets_jti
()
tests/core/test_oauth2/test_rfc7523_assertion.py:50
Functiontest_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
Functiontest_cleans_previous_token_before_fetching_new_one
()
tests/clients/test_httpx/test_oauth2_client.py:281
Functiontest_cleans_previous_token_before_fetching_new_one
()
tests/clients/test_httpx/test_async_oauth2_client.py:286
Functiontest_client
(app)
tests/flask/test_oauth2/conftest.py:50
Functiontest_client
(app, db)
tests/flask/test_oauth1/conftest.py:37
Functiontest_client_credentials_type
(token)
tests/clients/test_requests/test_oauth2_session.py:300
Functiontest_client_credentials_type
()
tests/clients/test_httpx/test_oauth2_client.py:264
Functiontest_client_credentials_type
()
tests/clients/test_httpx/test_async_oauth2_client.py:267
Functiontest_client_id
()
tests/core/test_oauth2/test_rfc7662.py:6
Functiontest_client_id
client_id is included in the token request body when provided.
tests/clients/test_httpx/test_assertion_client.py:56
Functiontest_client_id
client_id is included in the token request body when provided.
tests/clients/test_httpx/test_async_assertion_client.py:58
Functiontest_client_id_matches_aud_list
client_id matches when aud is a list containing it.
tests/flask/test_oauth2/test_end_session.py:288
Functiontest_client_id_mismatch
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:352
Functiontest_client_id_mismatch_error
client_id not matching aud claim returns error.
tests/flask/test_oauth2/test_end_session.py:267
Functiontest_client_id_not_in_aud_list_error
client_id not in aud list returns error.
tests/flask/test_oauth2/test_end_session.py:304
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_client_not_resolved_from_aud_list
Client is not resolved from aud list (ambiguous).
tests/flask/test_oauth2/test_end_session.py:375
Functiontest_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
Functiontest_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
Functiontest_client_resolved_from_single_aud
Client is resolved from single aud claim.
tests/flask/test_oauth2/test_end_session.py:362
Functiontest_client_resolved_with_explicit_client_id
Client is resolved when client_id is provided explicitly.
tests/flask/test_oauth2/test_end_session.py:395
Functiontest_client_secret_basic_saves_authenticated_client_id
(test_client, db, client)
tests/flask/test_oauth2/test_device_code_grant.py:246
Functiontest_client_secret_jwt
(test_client, server)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:140
Functiontest_client_secret_jwt
(token)
tests/clients/test_requests/test_oauth2_session.py:537
Functiontest_client_secret_jwt2
(token)
tests/clients/test_requests/test_oauth2_session.py:546
Functiontest_client_secret_post
(app, test_client, client, db, server)
tests/flask/test_oauth2/test_authorization_code_grant.py:286
Functiontest_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
Functiontest_clock_skew_within_leeway
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:396
Functiontest_code_access_token
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:256
Functiontest_code_challenge
()
tests/clients/test_requests/test_oauth2_session.py:135
Functiontest_code_challenge
()
tests/clients/test_httpx/test_oauth2_client.py:99
Functiontest_code_challenge
()
tests/clients/test_httpx/test_async_oauth2_client.py:125
Functiontest_code_id_token
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:292
Functiontest_code_id_token_access_token
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:332
Functiontest_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
Functiontest_compact_jws
()
tests/jose/test_jws.py:60
Functiontest_compact_none
()
tests/jose/test_jws.py:103
Functiontest_compact_rsa
()
tests/jose/test_jws.py:70
Functiontest_compact_rsa
()
tests/jose/test_jwe.py:171
Functiontest_compact_rsa_pss
()
tests/jose/test_jws.py:89
Functiontest_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
Functiontest_confidential_client
(test_client, db, client)
tests/flask/test_oauth2/test_implicit_grant.py:35
Functiontest_confidential_client_without_secret
A confidential client cannot authenticate with its client_id only.
tests/django/test_oauth2/test_revocation_endpoint.py:126
Functiontest_confidential_client_without_secret
A confidential client cannot authenticate with its client_id only.
tests/flask/test_oauth2/test_introspection_endpoint.py:160
Functiontest_confidential_client_without_secret
A confidential client cannot authenticate with its client_id only.
tests/flask/test_oauth2/test_device_code_grant.py:270
Functiontest_confidential_client_without_secret
A confidential client cannot authenticate with its client_id only.
tests/flask/test_oauth2/test_revocation_endpoint.py:149
Functiontest_confirmation_bypassed_with_id_token
With valid id_token_hint, no confirmation needed.
tests/flask/test_oauth2/test_end_session.py:230
Functiontest_confirmation_shown_without_id_token
Without id_token_hint, confirmation page is shown on GET.
tests/flask/test_oauth2/test_end_session.py:220
Functiontest_consent_view
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:60
Functiontest_create_authorization_response
(factory, server)
tests/django/test_oauth2/test_implicit_grant.py:62
Functiontest_create_authorization_response
(factory, server)
tests/django/test_oauth2/test_authorization_code_grant.py:105
Functiontest_create_authorization_response
(test_client)
tests/flask/test_oauth2/test_device_code_grant.py:289
Functiontest_create_authorization_url
()
tests/clients/test_requests/test_oauth1_session.py:157
Functiontest_create_authorization_url
()
tests/clients/test_requests/test_oauth2_session.py:116
Functiontest_create_authorization_url
()
tests/clients/test_httpx/test_oauth2_client.py:80
Functiontest_create_authorization_url
()
tests/clients/test_httpx/test_async_oauth2_client.py:106
Functiontest_create_client
(test_client)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:69
Functiontest_create_client
()
tests/clients/test_flask/test_oauth_client.py:101
← previousnext →1,701–1,800 of 2,764, ranked by callers