Package proto.rpc.v1

Interface AuthServiceGrpc.AsyncService

All Known Implementing Classes:
AuthServiceGrpc.AuthServiceImplBase
Enclosing class:
AuthServiceGrpc

public static interface AuthServiceGrpc.AsyncService
 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.
 
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    authenticate(Auth.AuthenticateRequest request, io.grpc.stub.StreamObserver<Auth.AuthenticateResponse> responseObserver)
    Authenticate attempts to authenticate the caller claiming to be the given entity.
  • Method Details

    • authenticate

      default void authenticate(Auth.AuthenticateRequest request, io.grpc.stub.StreamObserver<Auth.AuthenticateResponse> responseObserver)
       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.