Home
last modified time | relevance | path

Searched refs:expected_audience (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/test/core/security/
Djwt_verifier_test.cc124 static const char expected_audience[] = "https://foo.com"; variable
348 GPR_ASSERT(strcmp(grpc_jwt_claims_audience(claims), expected_audience) == 0); in on_verification_success()
362 jwt = grpc_jwt_encode_and_sign(&key, expected_audience, expected_lifetime, in test_jwt_verifier_google_email_issuer_success()
366 grpc_jwt_verifier_verify(verifier, nullptr, jwt, expected_audience, in test_jwt_verifier_google_email_issuer_success()
395 jwt = grpc_jwt_encode_and_sign(&key, expected_audience, expected_lifetime, in test_jwt_verifier_custom_email_issuer_success()
399 grpc_jwt_verifier_verify(verifier, nullptr, jwt, expected_audience, in test_jwt_verifier_custom_email_issuer_success()
442 jwt = grpc_jwt_encode_and_sign(&key, expected_audience, expected_lifetime, in test_jwt_verifier_url_issuer_success()
446 grpc_jwt_verifier_verify(verifier, nullptr, jwt, expected_audience, in test_jwt_verifier_url_issuer_success()
481 jwt = grpc_jwt_encode_and_sign(&key, expected_audience, expected_lifetime, in test_jwt_verifier_url_issuer_bad_config()
485 grpc_jwt_verifier_verify(verifier, nullptr, jwt, expected_audience, in test_jwt_verifier_url_issuer_bad_config()
[all …]
Djson_token_test.cc261 static void check_jwt_claim(grpc_json* claim, const char* expected_audience, in check_jwt_claim() argument
313 GPR_ASSERT(strcmp(aud->value, expected_audience) == 0); in check_jwt_claim()