Class CompositeGrpcAuthenticationReader

java.lang.Object
net.devh.boot.grpc.server.security.authentication.CompositeGrpcAuthenticationReader
All Implemented Interfaces:
GrpcAuthenticationReader

public class CompositeGrpcAuthenticationReader extends Object implements GrpcAuthenticationReader
Combines multiple GrpcAuthenticationReader into a single one. The readers will be executed in the same order the are passed to the constructor. The authentication is aborted if a grpc authentication reader throws an exception.
  • Constructor Details

    • CompositeGrpcAuthenticationReader

      public CompositeGrpcAuthenticationReader(List<GrpcAuthenticationReader> authenticationReaders)
      Creates a new CompositeGrpcAuthenticationReader with the given authentication readers.
      Parameters:
      authenticationReaders - The authentication readers to use.
  • Method Details