public final class AuthorizationUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.Status |
clientAuthorizationCheck(io.grpc.ServerCall<?,?> call,
java.util.Collection<java.lang.String> expectedServiceAccounts)
Given a server call, performs client authorization check, i.e., checks if the client service
account matches one of the expected service accounts.
|
public static io.grpc.Status clientAuthorizationCheck(io.grpc.ServerCall<?,?> call,
java.util.Collection<java.lang.String> expectedServiceAccounts)