Package proto.rpc.v1

Class AuthServiceGrpc.AuthServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<AuthServiceGrpc.AuthServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<AuthServiceGrpc.AuthServiceBlockingV2Stub>
proto.rpc.v1.AuthServiceGrpc.AuthServiceBlockingV2Stub
Enclosing class:
AuthServiceGrpc

public static final class AuthServiceGrpc.AuthServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AuthServiceGrpc.AuthServiceBlockingV2Stub>
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 Type
    Method
    Description
    Authenticate attempts to authenticate the caller claiming to be the given entity.
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected AuthServiceGrpc.AuthServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AuthServiceGrpc.AuthServiceBlockingV2Stub>
    • authenticate

      public Auth.AuthenticateResponse authenticate(Auth.AuthenticateRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException