MCPcopy Create free account

hub / github.com/authlib/authlib / functions

Functions2,764 in github.com/authlib/authlib

Functiontest_scope_email
(test_client, db, token)
tests/flask/test_oauth2/test_userinfo.py:239
Functiontest_scope_minimum
(test_client)
tests/flask/test_oauth2/test_userinfo.py:182
Functiontest_scope_operator
(factory, token)
tests/django/test_oauth2/test_resource_protector.py:104
Functiontest_scope_operator
(test_client, token)
tests/flask/test_oauth2/test_oauth2_server.py:156
Functiontest_scope_phone
(test_client, db, token)
tests/flask/test_oauth2/test_userinfo.py:254
Functiontest_scope_profile
(test_client, db, token)
tests/flask/test_oauth2/test_userinfo.py:191
Functiontest_scope_restriction
If an authorization request includes a scope parameter, the corresponding issued JWT access token SHOULD include a 'scope' claim as defined in Sec
tests/flask/test_oauth2/rfc9068/test_resource_server.py:288
Functiontest_scope_signed_secured
When userinfo_signed_response_alg is set as client metadata and not none, the userinfo response must be signed.
tests/flask/test_oauth2/test_userinfo.py:301
Functiontest_scope_signed_unsecured
When userinfo_signed_response_alg is set as client metadata, the userinfo response must be a JWT.
tests/flask/test_oauth2/test_userinfo.py:270
Functiontest_scope_to_list
()
tests/core/test_oauth2/test_rfc6749_misc.py:67
Functiontest_scopes_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:118
Functiontest_secure_transport
(uri)
tests/core/test_common_security.py:26
Functiontest_serialize_compact_allows_unknown_fields_in_header_while_private_fields_not_restricted
()
tests/jose/test_jwe.py:267
Functiontest_serialize_compact_fails_if_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:253
Functiontest_serialize_json_allows_unknown_fields_in_headers_while_private_fields_not_restricted
()
tests/jose/test_jwe.py:325
Functiontest_serialize_json_empty_payload
()
tests/jose/test_jws.py:171
Functiontest_serialize_json_fails_if_protected_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:278
Functiontest_serialize_json_fails_if_recipient_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:309
Functiontest_serialize_json_fails_if_unprotected_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:293
Functiontest_serialize_json_ignores_additional_members_in_recipients_elements
()
tests/jose/test_jwe.py:343
Functiontest_serialize_json_overwrite_header
()
tests/jose/test_jws.py:200
Functiontest_server_require_request_object
When server metadata 'require_signed_request_object' is true, request objects must be used.
tests/flask/test_oauth2/test_jwt_authorization_request.py:207
Functiontest_server_require_request_object_alg_none
When server metadata 'require_signed_request_object' is true, the JWT alg cannot be none.
tests/flask/test_oauth2/test_jwt_authorization_request.py:223
Functiontest_set_token
()
tests/clients/test_requests/test_oauth1_session.py:138
Functiontest_sign_custom_jti
(rsa_private, rsa_public)
tests/core/test_oauth2/test_id_jag.py:167
Functiontest_sign_custom_jti
()
tests/core/test_oauth2/test_rfc7523_private_key.py:116
Functiontest_sign_custom_jti
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:112
Functiontest_sign_nothing_set
()
tests/core/test_oauth2/test_rfc7523_private_key.py:94
Functiontest_sign_nothing_set
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:88
Functiontest_sign_produces_valid_jwt
(rsa_private, rsa_public)
tests/core/test_oauth2/test_id_jag.py:134
Functiontest_sign_requires_alg
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:156
Functiontest_sign_requires_subject
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:144
Functiontest_sign_with_additional_claim
()
tests/core/test_oauth2/test_rfc7523_private_key.py:189
Functiontest_sign_with_additional_claim
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:188
Functiontest_sign_with_additional_claims
()
tests/core/test_oauth2/test_rfc7523_private_key.py:212
Functiontest_sign_with_additional_claims
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:212
Functiontest_sign_with_additional_header
()
tests/core/test_oauth2/test_rfc7523_private_key.py:138
Functiontest_sign_with_additional_header
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:135
Functiontest_sign_with_additional_headers
()
tests/core/test_oauth2/test_rfc7523_private_key.py:160
Functiontest_sign_with_additional_headers
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:158
Functiontest_sign_with_ec_key
``PrivateKeyJWT`` should accept an ``ECKey`` private key and sign with ES256.
tests/core/test_oauth2/test_rfc7523_private_key.py:236
Functiontest_sign_with_extra_claims
(rsa_private, rsa_public)
tests/core/test_oauth2/test_id_jag.py:173
Functiontest_sign_with_non_recommended_alg
Signing must work with algorithms outside joserfc's recommended set.
tests/core/test_oauth2/test_rfc7523_private_key.py:251
Functiontest_signature_methods
(generate_nonce, generate_timestamp)
tests/clients/test_requests/test_oauth1_session.py:57
Functiontest_signature_requirement_with_explicit_algorithms
( test_client, server, client, db, require_signed, algorithm_source, parameter,
tests/flask/test_oauth2/test_jwt_authorization_request.py:514
Functiontest_signature_types
()
tests/clients/test_requests/test_oauth1_session.py:30
Functiontest_software_statement
(test_client)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:78
Functiontest_ssh_prefixes_are_checked
Every SSH key type loaded by an asymmetric key class is checked before a key is accepted as an HMAC secret.
tests/jose/test_jwt.py:138
Functiontest_subject_of_another_issuer
An IdP cannot get an access token for a user of another IdP.
tests/flask/test_oauth2/test_id_jag_grant.py:128
Functiontest_subject_types_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:138
Functiontest_supported_code_challenge_method
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:76
Functiontest_surrounding_whitespace_is_ignored
urlsplit() strips whitespace and control characters before parsing.
tests/core/test_common_security.py:79
Functiontest_temporary_credential_parameters_errors
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:38
Functiontest_temporary_credential_signatures_errors
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:141
Functiontest_token_auth_method_client_secret_post
(token)
tests/clients/test_requests/test_oauth2_session.py:246
Functiontest_token_auth_method_client_secret_post
()
tests/clients/test_httpx/test_oauth2_client.py:207
Functiontest_token_auth_method_client_secret_post
()
tests/clients/test_httpx/test_async_oauth2_client.py:201
Functiontest_token_endpoint_auth_methods_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:195
Functiontest_token_endpoint_auth_signing_alg
()
tests/core/test_oidc/test_registration.py:29
Functiontest_token_endpoint_auth_signing_alg_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:98
Functiontest_token_expired
(test_client, claims, client, jwks)
tests/flask/test_oauth2/rfc9068/test_token_introspection.py:216
Functiontest_token_expired
()
tests/clients/test_requests/test_oauth2_session.py:407
Functiontest_token_from_fragment
(token)
tests/clients/test_requests/test_oauth2_session.py:144
Functiontest_token_from_fragment
()
tests/clients/test_httpx/test_oauth2_client.py:108
Functiontest_token_from_fragment
()
tests/clients/test_httpx/test_async_oauth2_client.py:134
Functiontest_token_generator
(test_client, server, app)
tests/flask/test_oauth2/test_password_grant.py:196
Functiontest_token_generator
(test_client, app, server)
tests/flask/test_oauth2/test_client_credentials_grant.py:101
Functiontest_token_generator
(test_client, app, server)
tests/flask/test_oauth2/test_implicit_grant.py:89
Functiontest_token_generator
(test_client, app, server)
tests/flask/test_oauth2/test_jwt_bearer_grant.py:127
Functiontest_token_generator
(test_client, token, app, server)
tests/flask/test_oauth2/test_refresh_token.py:246
Functiontest_token_generator
(app, test_client, client, server)
tests/flask/test_oauth2/test_authorization_code_grant.py:323
Functiontest_token_has_bad_scope
Test that tokens without 'openid' scope cannot access the userinfo endpoint.
tests/flask/test_oauth2/test_userinfo.py:169
Functiontest_token_status
()
tests/clients/test_requests/test_oauth2_session.py:350
Functiontest_token_status
()
tests/clients/test_httpx/test_oauth2_client.py:295
Functiontest_token_status
()
tests/clients/test_httpx/test_async_oauth2_client.py:302
Functiontest_token_status2
()
tests/clients/test_requests/test_oauth2_session.py:357
Functiontest_token_status3
()
tests/clients/test_requests/test_oauth2_session.py:364
Functiontest_token_with_future_nbf_rejected
Token with nbf in the future is rejected.
tests/flask/test_oauth2/test_end_session.py:341
Functiontest_trusted_client_missing_code_verifier
(test_client, db, client)
tests/flask/test_oauth2/test_code_challenge.py:176
Functiontest_trusted_client_without_code_challenge
(test_client, db, client)
tests/flask/test_oauth2/test_code_challenge.py:82
Functiontest_typ
The resource server MUST verify that the 'typ' header value is 'at+jwt' or 'application/at+jwt' and reject tokens carrying any other value.
tests/flask/test_oauth2/rfc9068/test_resource_server.py:209
Functiontest_ui_locales_extracted
ui_locales parameter is extracted and available in EndSessionRequest.
tests/flask/test_oauth2/test_end_session.py:485
Functiontest_unapproved_request_uri_rejected_before_fetch
(test_client, server, request_uri)
tests/flask/test_oauth2/test_jwt_authorization_request.py:581
Functiontest_unauthorized_client
(factory, server, client)
tests/django/test_oauth2/test_password_grant.py:135
Functiontest_unauthorized_client
(factory, server, client)
tests/django/test_oauth2/test_client_credentials_grant.py:78
Functiontest_unauthorized_client
(test_client, client)
tests/flask/test_oauth2/test_jwt_bearer_grant.py:101
Functiontest_unauthorized_client
(test_client, db, client)
tests/flask/test_oauth2/test_device_code_grant.py:139
Functiontest_unauthorized_client
(test_client, client)
tests/flask/test_oauth2/test_id_jag_grant.py:246
Functiontest_unauthorized_client
(test_client, client, db)
tests/flask/test_oauth2/test_authorization_code_grant.py:73
Functiontest_unauthorized_grant_type
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:360
Functiontest_unknown_client_claim
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:345
Functiontest_unknown_client_claim
(test_client)
tests/flask/test_oauth2/test_id_jag_grant.py:222
Functiontest_unknown_issuer
resolve_issuer_client' returning None yields an 'invalid_grant' error.
tests/flask/test_oauth2/test_jwt_bearer_grant.py:347
Functiontest_unparsable_authority
urlparse() raises ValueError on these, it must not propagate.
tests/core/test_common_urls.py:56
Functiontest_unparseable_expires_at_returns_none
Test that is_expired returns None when expires_at is unparsable and no expires_in.
tests/clients/test_requests/test_oauth2_session.py:390
Functiontest_unprotected_crit_rejected_in_json_deserialize
()
tests/jose/test_jws.py:266
Functiontest_unprotected_crit_rejected_in_json_serialize
()
tests/jose/test_jws.py:257
Functiontest_unsupported_client
(test_client, db, client)
tests/flask/test_oauth2/test_implicit_grant.py:53
Functiontest_unsupported_request_parameter
Passing the request parameter when unsupported should raise a 'request_not_supported' error.
tests/flask/test_oauth2/test_jwt_authorization_request.py:311
Functiontest_unsupported_request_uri_parameter
Passing the request parameter when unsupported should raise a 'request_uri_not_supported' error.
tests/flask/test_oauth2/test_jwt_authorization_request.py:331
← previousnext →2,401–2,500 of 2,764, ranked by callers