Method: Authzed::GrpcUtil::BearerToken#request_response
- Defined in:
- lib/grpcutil/bearer_token.rb
#request_response(request: nil, call: nil, method: nil, metadata: nil) ⇒ Object
Intercept a unary request response call
24 25 26 27 |
# File 'lib/grpcutil/bearer_token.rb', line 24 def request_response(request: nil, call: nil, method: nil, metadata: nil) [AUTHORIZATION_HEADER] = bearer_token_header yield end |