#import <GRPCTypes.h>
Instance Methods | |
(void) | - getTokenWithHandler: |
Implement this protocol to provide a token to gRPC when a call is initiated.
Definition at line 179 of file GRPCTypes.h.
- (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.