Class: Gruf::Authentication::None

Inherits:
Base
  • Object
show all
Defined in:
lib/gruf/authentication/none.rb

Overview

No authentication strategy

Instance Attribute Summary

Attributes inherited from Base

#credentials, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize, verify

Methods included from Loggable

#logger

Constructor Details

This class inherits a constructor from Gruf::Authentication::Base

Instance Method Details

#valid?(_call) ⇒ TrueClass

Returns Always true for this passthrough strategy.

Parameters:

  • _call (GRPC::ActiveCall)

    The gRPC active call for the given operation

Returns:

  • (TrueClass)

    Always true for this passthrough strategy.



27
28
29
# File 'lib/gruf/authentication/none.rb', line 27

def valid?(_call)
  true
end