MCPcopy Create free account

hub / github.com/authlib/authlib / functions

Functions2,764 in github.com/authlib/authlib

Functiontest_create_endpoint_response_unknown_endpoint
create_endpoint_response with unknown endpoint raises RuntimeError.
tests/flask/test_oauth2/test_end_session.py:440
Functiontest_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
Functiontest_create_logout_url_directly
Test create_logout_url returns URL and state without performing redirect.
tests/clients/test_flask/test_oauth_client.py:814
Functiontest_create_token_response_invalid
(factory, server)
tests/django/test_oauth2/test_authorization_code_grant.py:122
Functiontest_create_token_response_success
(factory, server)
tests/django/test_oauth2/test_authorization_code_grant.py:155
Functiontest_create_token_response_with_refresh_token
(factory, server, client, settings)
tests/django/test_oauth2/test_authorization_code_grant.py:161
Functiontest_custom_client_auth_method
(token)
tests/clients/test_requests/test_oauth2_session.py:580
Functiontest_custom_expires_in
(test_client, server, app)
tests/flask/test_oauth2/test_password_grant.py:216
Functiontest_custom_jti_is_preserved
()
tests/core/test_oauth2/test_rfc7523_assertion.py:23
Functiontest_custom_leeway
(oct_key)
tests/core/test_oauth2/test_rfc7523_validator.py:64
Functiontest_custom_token_generator_receives_allowed_scope
( test_client, server, response_type )
tests/flask/test_oauth2/test_openid_implict_grant.py:135
Functiontest_custom_token_generator_receives_allowed_scope
( test_client, server, response_type )
tests/flask/test_oauth2/test_openid_hybrid_grant.py:195
Functiontest_decorator_without_parentheses
(factory, token)
tests/django/test_oauth2/test_resource_protector.py:127
Functiontest_decorator_without_parentheses
(factory)
tests/django/test_oauth1/test_resource_protector.py:179
Functiontest_decorator_without_parentheses
(app, test_client)
tests/flask/test_oauth1/test_resource_protector.py:181
Functiontest_decryption_fails_if_ciphertext_is_invalid
()
tests/jose/test_jwe.py:1487
Functiontest_decryption_of_json_string
()
tests/jose/test_jwe.py:1296
Functiontest_decryption_of_message_to_multiple_recipients_by_matching_key
()
tests/jose/test_jwe.py:1184
Functiontest_decryption_with_json_serialization_fails_if_encrypted_key_for_this_recipient_is_invalid
()
tests/jose/test_jwe.py:1110
Functiontest_decryption_with_json_serialization_succeeds_while_encrypted_key_for_another_recipient_is_invalid
()
tests/jose/test_jwe.py:1022
Functiontest_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
Functiontest_default_jti_is_generated
()
tests/core/test_oauth2/test_rfc7523_assertion.py:11
Functiontest_default_max_age
()
tests/core/test_oidc/test_registration.py:44
Functiontest_delete_access_denied
(test_client)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:450
Functiontest_delete_client
(test_client, client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:442
Functiontest_delete_invalid_client
(test_client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:473
Functiontest_delete_token_of_another_client
A registration access token cannot delete another client.
tests/flask/test_oauth2/test_client_configuration_endpoint.py:537
Functiontest_delete_unauthorized_client
(test_client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:485
Functiontest_denied
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:180
Functiontest_denied_by_user
(test_client)
tests/flask/test_oauth2/test_device_code_grant.py:200
Functiontest_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
Functiontest_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
Functiontest_deserialize_exceeds_length
()
tests/jose/test_jws.py:302
Functiontest_deserialize_json_allows_unknown_fields_in_headers_while_private_fields_not_restricted
()
tests/jose/test_jwe.py:432
Functiontest_deserialize_json_empty_signatures
()
tests/jose/test_jws.py:319
Functiontest_deserialize_json_fails_if_protected_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:385
Functiontest_deserialize_json_fails_if_recipient_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:417
Functiontest_deserialize_json_fails_if_unprotected_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:402
Functiontest_deserialize_json_ignores_additional_members_in_jwe_message
()
tests/jose/test_jwe.py:464
Functiontest_deserialize_json_ignores_additional_members_in_recipients_elements
()
tests/jose/test_jwe.py:448
Functiontest_deserialize_json_max_recipients
()
tests/jose/test_jwe.py:371
Functiontest_deserialize_json_max_signatures
()
tests/jose/test_jws.py:347
Functiontest_deserialize_json_too_many_recipients
()
tests/jose/test_jwe.py:354
Functiontest_deserialize_json_too_many_signatures
()
tests/jose/test_jws.py:331
Functiontest_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
Functiontest_dir_alg
()
tests/jose/test_jwe.py:1168
Functiontest_dir_alg_c20p
()
tests/jose/test_chacha20.py:11
Functiontest_dir_alg_xc20p
()
tests/jose/test_chacha20.py:27
Functiontest_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
Functiontest_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
Functiontest_duplicated_oauth_parameters
(factory, server)
tests/django/test_oauth1/test_token_credentials.py:56
Functiontest_duplicated_oauth_parameters
(app, test_client)
tests/flask/test_oauth1/test_token_credentials.py:106
Functiontest_each_call_generates_unique_jti
()
tests/core/test_oauth2/test_rfc7523_assertion.py:35
Functiontest_ec_key_generate
()
tests/jose/test_jwk.py:162
Functiontest_ec_private_key
()
tests/jose/test_jwk.py:146
Functiontest_ec_public_key
()
tests/jose/test_jwk.py:135
Functiontest_ecdh_1pu_decryption_fails_if_key_matches_to_no_recipient
()
tests/jose/test_ecdh_1pu.py:1613
Functiontest_ecdh_1pu_decryption_fails_if_not_aes_cbc_hmac_sha2_enc_is_used_with_kw
(alg)
tests/jose/test_ecdh_1pu.py:1258
Functiontest_ecdh_1pu_decryption_with_json_serialization
()
tests/jose/test_ecdh_1pu.py:765
Functiontest_ecdh_1pu_decryption_with_public_recipient_key_fails
()
tests/jose/test_ecdh_1pu.py:1321
Functiontest_ecdh_1pu_encryption_fails_if_key_points_are_not_actually_on_same_curve
()
tests/jose/test_ecdh_1pu.py:1403
Functiontest_ecdh_1pu_encryption_fails_if_key_types_are_different
()
tests/jose/test_ecdh_1pu.py:1343
Functiontest_ecdh_1pu_encryption_fails_if_keys_curve_is_inappropriate
()
tests/jose/test_ecdh_1pu.py:1500
Functiontest_ecdh_1pu_encryption_fails_if_keys_curves_are_different
()
tests/jose/test_ecdh_1pu.py:1368
Functiontest_ecdh_1pu_encryption_fails_if_not_aes_cbc_hmac_sha2_enc_is_used_with_kw
()
tests/jose/test_ecdh_1pu.py:1217
Functiontest_ecdh_1pu_encryption_fails_json_serialization_multiple_recipients_in_direct_key_agreement_mode
()
tests/jose/test_ecdh_1pu.py:1200
Functiontest_ecdh_1pu_encryption_for_multiple_recipients_fails_if_key_points_are_not_actually_on_same_curve
()
tests/jose/test_ecdh_1pu.py:1555
Functiontest_ecdh_1pu_encryption_for_multiple_recipients_fails_if_key_types_are_different
()
tests/jose/test_ecdh_1pu.py:1519
Functiontest_ecdh_1pu_encryption_for_multiple_recipients_fails_if_keys_curve_is_inappropriate
()
tests/jose/test_ecdh_1pu.py:1589
Functiontest_ecdh_1pu_encryption_for_multiple_recipients_fails_if_keys_curves_are_different
()
tests/jose/test_ecdh_1pu.py:1537
Functiontest_ecdh_1pu_encryption_with_json_serialization
()
tests/jose/test_ecdh_1pu.py:642
Functiontest_ecdh_1pu_encryption_with_public_sender_key_fails
()
tests/jose/test_ecdh_1pu.py:1295
Functiontest_ecdh_1pu_json_decryption_fails_if_not_aes_cbc_hmac_sha2_enc_is_used_with_kw
()
tests/jose/test_ecdh_1pu.py:1274
Functiontest_ecdh_1pu_jwe_in_direct_key_agreement_mode
()
tests/jose/test_ecdh_1pu.py:484
Functiontest_ecdh_1pu_jwe_in_key_agreement_with_key_wrapping_mode
()
tests/jose/test_ecdh_1pu.py:527
Functiontest_ecdh_1pu_jwe_json_serialization_single_recipient_in_direct_key_agreement_mode
()
tests/jose/test_ecdh_1pu.py:515
Functiontest_ecdh_1pu_jwe_with_compact_serialization_ignores_kid_provided_separately_on_decryption
()
tests/jose/test_ecdh_1pu.py:562
Functiontest_ecdh_1pu_jwe_with_json_serialization_for_single_recipient
()
tests/jose/test_ecdh_1pu.py:1143
Functiontest_ecdh_1pu_jwe_with_json_serialization_when_kid_is_not_specified
()
tests/jose/test_ecdh_1pu.py:877
Functiontest_ecdh_1pu_jwe_with_json_serialization_when_kid_is_provided_separately_on_decryption
()
tests/jose/test_ecdh_1pu.py:1044
Functiontest_ecdh_1pu_jwe_with_json_serialization_when_kid_is_specified
()
tests/jose/test_ecdh_1pu.py:959
Functiontest_ecdh_1pu_jwe_with_okp_keys_in_direct_key_agreement_mode
()
tests/jose/test_ecdh_1pu.py:600
Functiontest_ecdh_1pu_jwe_with_okp_keys_in_key_agreement_with_key_wrapping_mode
()
tests/jose/test_ecdh_1pu.py:619
Functiontest_ecdh_1pu_key_agreement_computation_appx_a
()
tests/jose/test_ecdh_1pu.py:22
Functiontest_ecdh_1pu_key_agreement_computation_appx_b
()
tests/jose/test_ecdh_1pu.py:165
Functiontest_ecdh_es_decryption_fails_if_key_matches_to_no_recipient
()
tests/jose/test_jwe.py:974
Functiontest_ecdh_es_decryption_with_public_key_fails
()
tests/jose/test_jwe.py:950
Functiontest_ecdh_es_encryption_fails_if_key_curve_is_inappropriate
()
tests/jose/test_jwe.py:965
Functiontest_ecdh_es_encryption_fails_json_serialization_multiple_recipients_in_direct_key_agreement_mode
()
tests/jose/test_jwe.py:935
Functiontest_ecdh_es_jwe_in_direct_key_agreement_mode
()
tests/jose/test_jwe.py:635
Functiontest_ecdh_es_jwe_in_key_agreement_with_key_wrapping_mode
()
tests/jose/test_jwe.py:670
Functiontest_ecdh_es_jwe_json_serialization_single_recipient_in_direct_key_agreement_mode
()
tests/jose/test_jwe.py:659
Functiontest_ecdh_es_jwe_with_json_serialization_for_single_recipient
()
tests/jose/test_jwe.py:886
Functiontest_ecdh_es_jwe_with_json_serialization_when_kid_is_not_specified
()
tests/jose/test_jwe.py:740
Functiontest_ecdh_es_jwe_with_json_serialization_when_kid_is_specified
()
tests/jose/test_jwe.py:812
Functiontest_ecdh_es_jwe_with_okp_key_in_direct_key_agreement_mode
()
tests/jose/test_jwe.py:699
Functiontest_ecdh_es_jwe_with_okp_key_in_key_agreement_with_key_wrapping_mode
()
tests/jose/test_jwe.py:717
Functiontest_ecdh_es_key_agreement_computation
()
tests/jose/test_jwe.py:480
Functiontest_empty_client_secret
A client without a secret cannot use HMAC-SHA1 or PLAINTEXT.
tests/flask/test_oauth1/test_temporary_credentials.py:262
Functiontest_empty_request_uri_rejected_before_policy
(test_client, server, extension_cls)
tests/flask/test_oauth2/test_jwt_authorization_request.py:780
← previousnext →1,801–1,900 of 2,764, ranked by callers