Package proto.rpc.v1
Class AuthServiceGrpc.AuthServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AuthServiceGrpc.AuthServiceBlockingStub>
proto.rpc.v1.AuthServiceGrpc.AuthServiceBlockingStub
- Enclosing class:
- AuthServiceGrpc
public static final class AuthServiceGrpc.AuthServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<AuthServiceGrpc.AuthServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service AuthService.
An AuthService is intended to be used as a means to perform application level authentication. Its sole Authenticate method should be used prior to any other services that a gRPC server has to offer.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(Auth.AuthenticateRequest request) Authenticate attempts to authenticate the caller claiming to be the given entity.protected AuthServiceGrpc.AuthServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AuthServiceGrpc.AuthServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AuthServiceGrpc.AuthServiceBlockingStub>
-
authenticate
Authenticate attempts to authenticate the caller claiming to be the given entity. The resulting response contains an access token with the subject as the entity and the audience/issuer as the provider of this service. This token should be used for all future RPC requests.
-