pub unsafe extern "C" fn grpc_service_account_jwt_access_credentials_create(
json_key: *const c_char,
token_lifetime: gpr_timespec,
reserved: *mut c_void
) -> *mut grpc_call_credentials
Expand description
Creates a JWT credentials object. May return NULL if the input is invalid.
- json_key is the JSON key string containing the client’s private key.
- token_lifetime is the lifetime of each Json Web Token (JWT) created with this credentials. It should not exceed grpc_max_auth_token_lifetime or will be cropped to this value.