|
|
|
@ -91,8 +91,8 @@ typedef NS_ENUM(NSInteger, GRPCTransportType) { |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The OAuth2 access token string. The string is prefixed with "Bearer " then used as value of the |
|
|
|
|
* request's "authorization" header field. This parameter takes precedence over \a |
|
|
|
|
* oauth2AccessToken. |
|
|
|
|
* request's "authorization" header field. This parameter should not be used simultaneously with |
|
|
|
|
* \a authTokenProvider. |
|
|
|
|
*/ |
|
|
|
|
@property(copy, readonly) NSString *oauth2AccessToken; |
|
|
|
|
|
|
|
|
@ -245,7 +245,7 @@ typedef NS_ENUM(NSInteger, GRPCTransportType) { |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The interface to get the OAuth2 access token string. gRPC will attempt to acquire token when |
|
|
|
|
* initiating the call. This parameter takes precedence over \a oauth2AccessToken. |
|
|
|
|
* initiating the call. This parameter should not be used simultaneously with \a oauth2AccessToken. |
|
|
|
|
*/ |
|
|
|
|
@property(readwrite) id<GRPCAuthorizationProtocol> authTokenProvider; |
|
|
|
|
|
|
|
|
|