GRPC Objective-C
1.71.0
|
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... | |
Implement this protocol to provide a token to gRPC when a call is initiated.
- (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.