public static final class AuthorizationGrpc.AuthorizationStub extends io.grpc.stub.AbstractStub<AuthorizationGrpc.AuthorizationStub>
A generic interface for performing authorization check on incoming requests to a networked service.
| Modifier and Type | Method and Description |
|---|---|
protected AuthorizationGrpc.AuthorizationStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
check(ExternalAuth.CheckRequest request,
io.grpc.stub.StreamObserver<ExternalAuth.CheckResponse> responseObserver)
Performs authorization check based on the attributes associated with the
incoming request, and returns status `OK` or not `OK`.
|
protected AuthorizationGrpc.AuthorizationStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AuthorizationGrpc.AuthorizationStub>public void check(ExternalAuth.CheckRequest request, io.grpc.stub.StreamObserver<ExternalAuth.CheckResponse> responseObserver)
Performs authorization check based on the attributes associated with the incoming request, and returns status `OK` or not `OK`.
Copyright © 2019 WSO2. All rights reserved.