public abstract class Authorization extends Object implements com.google.protobuf.Service
A generic interface for performing authorization check on incoming requests to a networked service.Protobuf service
envoy.service.auth.v4alpha.Authorization| Modifier and Type | Class and Description |
|---|---|
static interface |
Authorization.BlockingInterface |
static interface |
Authorization.Interface |
static class |
Authorization.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
Authorization() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
abstract void |
check(com.google.protobuf.RpcController controller,
CheckRequest request,
com.google.protobuf.RpcCallback<CheckResponse> done)
Performs authorization check based on the attributes associated with the
incoming request, and returns status `OK` or not `OK`.
|
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static Authorization.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(Authorization.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(Authorization.Interface impl) |
static Authorization.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
public static com.google.protobuf.Service newReflectiveService(Authorization.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(Authorization.BlockingInterface impl)
public abstract void check(com.google.protobuf.RpcController controller,
CheckRequest request,
com.google.protobuf.RpcCallback<CheckResponse> done)
Performs authorization check based on the attributes associated with the incoming request, and returns status `OK` or not `OK`.
rpc Check(.envoy.service.auth.v4alpha.CheckRequest) returns (.envoy.service.auth.v4alpha.CheckResponse);public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static Authorization.Stub newStub(com.google.protobuf.RpcChannel channel)
public static Authorization.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2018–2021 The Envoy Project. All rights reserved.