public abstract static class ExternalAuth.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.v2alpha.Authorization
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExternalAuth.Authorization.BlockingInterface |
static interface |
ExternalAuth.Authorization.Interface |
static class |
ExternalAuth.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,
ExternalAuth.CheckRequest request,
com.google.protobuf.RpcCallback<ExternalAuth.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 ExternalAuth.Authorization.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(ExternalAuth.Authorization.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(ExternalAuth.Authorization.Interface impl) |
static ExternalAuth.Authorization.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
public static com.google.protobuf.Service newReflectiveService(ExternalAuth.Authorization.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(ExternalAuth.Authorization.BlockingInterface impl)
public abstract void check(com.google.protobuf.RpcController controller,
ExternalAuth.CheckRequest request,
com.google.protobuf.RpcCallback<ExternalAuth.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.v2alpha.CheckRequest) returns (.envoy.service.auth.v2alpha.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 ExternalAuth.Authorization.Stub newStub(com.google.protobuf.RpcChannel channel)
public static ExternalAuth.Authorization.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2019 WSO2. All rights reserved.