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_create_endpoint_response_unknown_endpoint
create_endpoint_response with unknown endpoint raises RuntimeError.
tests/flask/test_oauth2/test_end_session.py:440
Function
test_create_endpoint_response_with_validated_request_error
Error in create_response with validated request returns error response.
tests/flask/test_oauth2/test_end_session.py:467
Function
test_create_logout_url_directly
Test create_logout_url returns URL and state without performing redirect.
tests/clients/test_flask/test_oauth_client.py:814
Function
test_create_token_response_invalid
(factory, server)
tests/django/test_oauth2/test_authorization_code_grant.py:122
Function
test_create_token_response_success
(factory, server)
tests/django/test_oauth2/test_authorization_code_grant.py:155
Function
test_create_token_response_with_refresh_token
(factory, server, client, settings)
tests/django/test_oauth2/test_authorization_code_grant.py:161
Function
test_custom_client_auth_method
(token)
tests/clients/test_requests/test_oauth2_session.py:580
Function
test_custom_expires_in
(test_client, server, app)
tests/flask/test_oauth2/test_password_grant.py:216
Function
test_custom_jti_is_preserved
()
tests/core/test_oauth2/test_rfc7523_assertion.py:23
Function
test_custom_leeway
(oct_key)
tests/core/test_oauth2/test_rfc7523_validator.py:64
Function
test_custom_token_generator_receives_allowed_scope
( test_client, server, response_type )
tests/flask/test_oauth2/test_openid_implict_grant.py:135
Function
test_custom_token_generator_receives_allowed_scope
( test_client, server, response_type )
tests/flask/test_oauth2/test_openid_hybrid_grant.py:195
Function
test_decorator_without_parentheses
(factory, token)
tests/django/test_oauth2/test_resource_protector.py:127
Function
test_decorator_without_parentheses
(factory)
tests/django/test_oauth1/test_resource_protector.py:179
Function
test_decorator_without_parentheses
(app, test_client)
tests/flask/test_oauth1/test_resource_protector.py:181
Function
test_decryption_fails_if_ciphertext_is_invalid
()
tests/jose/test_jwe.py:1487
Function
test_decryption_of_json_string
()
tests/jose/test_jwe.py:1296
Function
test_decryption_of_message_to_multiple_recipients_by_matching_key
()
tests/jose/test_jwe.py:1184
Function
test_decryption_with_json_serialization_fails_if_encrypted_key_for_this_recipient_is_invalid
()
tests/jose/test_jwe.py:1110
Function
test_decryption_with_json_serialization_succeeds_while_encrypted_key_for_another_recipient_is_invalid
()
tests/jose/test_jwe.py:1022
Function
test_default_is_post_logout_redirect_uri_legitimate
Default is_post_logout_redirect_uri_legitimate returns False.
tests/flask/test_oauth2/test_end_session.py:446
Function
test_default_jti_is_generated
()
tests/core/test_oauth2/test_rfc7523_assertion.py:11
Function
test_default_max_age
()
tests/core/test_oidc/test_registration.py:44
Function
test_delete_access_denied
(test_client)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:450
Function
test_delete_client
(test_client, client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:442
Function
test_delete_invalid_client
(test_client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:473
Function
test_delete_token_of_another_client
A registration access token cannot delete another client.
tests/flask/test_oauth2/test_client_configuration_endpoint.py:537
Function
test_delete_unauthorized_client
(test_client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:485
Function
test_denied
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:180
Function
test_denied_by_user
(test_client)
tests/flask/test_oauth2/test_device_code_grant.py:200
Function
test_deprecated_get_jwt_config_signature
Using the old get_jwt_config(self) signature should emit a DeprecationWarning.
tests/flask/test_oauth2/test_openid_implict_grant.py:388
Function
test_deprecated_get_jwt_config_signature
Using the old get_jwt_config(self, grant) signature should emit a DeprecationWarning.
tests/flask/test_oauth2/test_openid_code_grant.py:489
Function
test_deserialize_exceeds_length
()
tests/jose/test_jws.py:302
Function
test_deserialize_json_allows_unknown_fields_in_headers_while_private_fields_not_restricted
()
tests/jose/test_jwe.py:432
Function
test_deserialize_json_empty_signatures
()
tests/jose/test_jws.py:319
Function
test_deserialize_json_fails_if_protected_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:385
Function
test_deserialize_json_fails_if_recipient_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:417
Function
test_deserialize_json_fails_if_unprotected_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:402
Function
test_deserialize_json_ignores_additional_members_in_jwe_message
()
tests/jose/test_jwe.py:464
Function
test_deserialize_json_ignores_additional_members_in_recipients_elements
()
tests/jose/test_jwe.py:448
Function
test_deserialize_json_max_recipients
()
tests/jose/test_jwe.py:371
Function
test_deserialize_json_max_signatures
()
tests/jose/test_jws.py:347
Function
test_deserialize_json_too_many_recipients
()
tests/jose/test_jwe.py:354
Function
test_deserialize_json_too_many_signatures
()
tests/jose/test_jws.py:331
Function
test_different_client_id
The client_id parameter should be the same in the request payload and the request object.
tests/flask/test_oauth2/test_jwt_authorization_request.py:432
Function
test_dir_alg
()
tests/jose/test_jwe.py:1168
Function
test_dir_alg_c20p
()
tests/jose/test_chacha20.py:11
Function
test_dir_alg_xc20p
()
tests/jose/test_chacha20.py:27
Function
test_does_not_expose_rfc7523_hooks
The RFC 7523 hooks that don't apply to ID-JAG must not exist on the class (no useless NotImplementedError stubs).
tests/core/test_oauth2/test_id_jag.py:476
Function
test_does_not_inherit_from_jwt_bearer_grant
ID-JAG intentionally does not inherit from JWTBearerGrant; it shares only the grant_type URI.
tests/core/test_oauth2/test_id_jag.py:470
Function
test_duplicated_oauth_parameters
(factory, server)
tests/django/test_oauth1/test_token_credentials.py:56
Function
test_duplicated_oauth_parameters
(app, test_client)
tests/flask/test_oauth1/test_token_credentials.py:106
Function
test_each_call_generates_unique_jti
()
tests/core/test_oauth2/test_rfc7523_assertion.py:35
Function
test_ec_key_generate
()
tests/jose/test_jwk.py:162
Function
test_ec_private_key
()
tests/jose/test_jwk.py:146
Function
test_ec_public_key
()
tests/jose/test_jwk.py:135
Function
test_ecdh_1pu_decryption_fails_if_key_matches_to_no_recipient
()
tests/jose/test_ecdh_1pu.py:1613
Function
test_ecdh_1pu_decryption_fails_if_not_aes_cbc_hmac_sha2_enc_is_used_with_kw
(alg)
tests/jose/test_ecdh_1pu.py:1258
Function
test_ecdh_1pu_decryption_with_json_serialization
()
tests/jose/test_ecdh_1pu.py:765
Function
test_ecdh_1pu_decryption_with_public_recipient_key_fails
()
tests/jose/test_ecdh_1pu.py:1321
Function
test_ecdh_1pu_encryption_fails_if_key_points_are_not_actually_on_same_curve
()
tests/jose/test_ecdh_1pu.py:1403
Function
test_ecdh_1pu_encryption_fails_if_key_types_are_different
()
tests/jose/test_ecdh_1pu.py:1343
Function
test_ecdh_1pu_encryption_fails_if_keys_curve_is_inappropriate
()
tests/jose/test_ecdh_1pu.py:1500
Function
test_ecdh_1pu_encryption_fails_if_keys_curves_are_different
()
tests/jose/test_ecdh_1pu.py:1368
Function
test_ecdh_1pu_encryption_fails_if_not_aes_cbc_hmac_sha2_enc_is_used_with_kw
()
tests/jose/test_ecdh_1pu.py:1217
Function
test_ecdh_1pu_encryption_fails_json_serialization_multiple_recipients_in_direct_key_agreement_mode
()
tests/jose/test_ecdh_1pu.py:1200
Function
test_ecdh_1pu_encryption_for_multiple_recipients_fails_if_key_points_are_not_actually_on_same_curve
()
tests/jose/test_ecdh_1pu.py:1555
Function
test_ecdh_1pu_encryption_for_multiple_recipients_fails_if_key_types_are_different
()
tests/jose/test_ecdh_1pu.py:1519
Function
test_ecdh_1pu_encryption_for_multiple_recipients_fails_if_keys_curve_is_inappropriate
()
tests/jose/test_ecdh_1pu.py:1589
Function
test_ecdh_1pu_encryption_for_multiple_recipients_fails_if_keys_curves_are_different
()
tests/jose/test_ecdh_1pu.py:1537
Function
test_ecdh_1pu_encryption_with_json_serialization
()
tests/jose/test_ecdh_1pu.py:642
Function
test_ecdh_1pu_encryption_with_public_sender_key_fails
()
tests/jose/test_ecdh_1pu.py:1295
Function
test_ecdh_1pu_json_decryption_fails_if_not_aes_cbc_hmac_sha2_enc_is_used_with_kw
()
tests/jose/test_ecdh_1pu.py:1274
Function
test_ecdh_1pu_jwe_in_direct_key_agreement_mode
()
tests/jose/test_ecdh_1pu.py:484
Function
test_ecdh_1pu_jwe_in_key_agreement_with_key_wrapping_mode
()
tests/jose/test_ecdh_1pu.py:527
Function
test_ecdh_1pu_jwe_json_serialization_single_recipient_in_direct_key_agreement_mode
()
tests/jose/test_ecdh_1pu.py:515
Function
test_ecdh_1pu_jwe_with_compact_serialization_ignores_kid_provided_separately_on_decryption
()
tests/jose/test_ecdh_1pu.py:562
Function
test_ecdh_1pu_jwe_with_json_serialization_for_single_recipient
()
tests/jose/test_ecdh_1pu.py:1143
Function
test_ecdh_1pu_jwe_with_json_serialization_when_kid_is_not_specified
()
tests/jose/test_ecdh_1pu.py:877
Function
test_ecdh_1pu_jwe_with_json_serialization_when_kid_is_provided_separately_on_decryption
()
tests/jose/test_ecdh_1pu.py:1044
Function
test_ecdh_1pu_jwe_with_json_serialization_when_kid_is_specified
()
tests/jose/test_ecdh_1pu.py:959
Function
test_ecdh_1pu_jwe_with_okp_keys_in_direct_key_agreement_mode
()
tests/jose/test_ecdh_1pu.py:600
Function
test_ecdh_1pu_jwe_with_okp_keys_in_key_agreement_with_key_wrapping_mode
()
tests/jose/test_ecdh_1pu.py:619
Function
test_ecdh_1pu_key_agreement_computation_appx_a
()
tests/jose/test_ecdh_1pu.py:22
Function
test_ecdh_1pu_key_agreement_computation_appx_b
()
tests/jose/test_ecdh_1pu.py:165
Function
test_ecdh_es_decryption_fails_if_key_matches_to_no_recipient
()
tests/jose/test_jwe.py:974
Function
test_ecdh_es_decryption_with_public_key_fails
()
tests/jose/test_jwe.py:950
Function
test_ecdh_es_encryption_fails_if_key_curve_is_inappropriate
()
tests/jose/test_jwe.py:965
Function
test_ecdh_es_encryption_fails_json_serialization_multiple_recipients_in_direct_key_agreement_mode
()
tests/jose/test_jwe.py:935
Function
test_ecdh_es_jwe_in_direct_key_agreement_mode
()
tests/jose/test_jwe.py:635
Function
test_ecdh_es_jwe_in_key_agreement_with_key_wrapping_mode
()
tests/jose/test_jwe.py:670
Function
test_ecdh_es_jwe_json_serialization_single_recipient_in_direct_key_agreement_mode
()
tests/jose/test_jwe.py:659
Function
test_ecdh_es_jwe_with_json_serialization_for_single_recipient
()
tests/jose/test_jwe.py:886
Function
test_ecdh_es_jwe_with_json_serialization_when_kid_is_not_specified
()
tests/jose/test_jwe.py:740
Function
test_ecdh_es_jwe_with_json_serialization_when_kid_is_specified
()
tests/jose/test_jwe.py:812
Function
test_ecdh_es_jwe_with_okp_key_in_direct_key_agreement_mode
()
tests/jose/test_jwe.py:699
Function
test_ecdh_es_jwe_with_okp_key_in_key_agreement_with_key_wrapping_mode
()
tests/jose/test_jwe.py:717
Function
test_ecdh_es_key_agreement_computation
()
tests/jose/test_jwe.py:480
Function
test_empty_client_secret
A client without a secret cannot use HMAC-SHA1 or PLAINTEXT.
tests/flask/test_oauth1/test_temporary_credentials.py:262
Function
test_empty_request_uri_rejected_before_policy
(test_client, server, extension_cls)
tests/flask/test_oauth2/test_jwt_authorization_request.py:780
← previous
next →
1,801–1,900 of 2,764, ranked by callers