pub unsafe extern "C" fn grpc_authorization_policy_provider_static_data_create(
authz_policy: *const c_char,
code: *mut Type,
error_details: *mut *const c_char
) -> *mut grpc_authorization_policy_provider
Expand description
EXPERIMENTAL - Subject to change. Creates a grpc_authorization_policy_provider using gRPC authorization policy from static string.
- authz_policy is the input gRPC authorization policy.
- code is the error status code on failure. On success, it equals GRPC_STATUS_OK.
- error_details contains details about the error if any. If the initialization is successful, it will be null. Caller must use gpr_free to destroy this string.