Instance Methods | List of all members
<GRPCAuthorizationProtocol> Protocol Reference

#import <GRPCTypes.h>

Inheritance diagram for <GRPCAuthorizationProtocol>:
Inheritance graph
[legend]

Instance Methods

(void) - getTokenWithHandler:
 

Detailed Description

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

Definition at line 179 of file GRPCTypes.h.

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:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:46