GRPC Objective-C  1.71.0
Instance Methods
<GRPCAuthorizationProtocol> Protocol Reference

Implement this protocol to provide a token to gRPC when a call is initiated. More...

#import <GRPCTypes.h>

Instance Methods

(void) - getTokenWithHandler:
 This method is called when gRPC is about to start the call. More...
 

Detailed Description

Implement this protocol to provide a token to gRPC when a call is initiated.

Method Documentation

◆ getTokenWithHandler:

- (void) getTokenWithHandler: (void(^)(NSString *_Nullable token))  handler

This method is called when gRPC is about to start the call.

When OAuth token is acquired, handler is expected to be called with token being the new token to be used for this call.


The documentation for this protocol was generated from the following file: