diff options
author | 2018-10-23 10:39:39 -0700 | |
---|---|---|
committer | 2018-10-23 10:39:39 -0700 | |
commit | 8986cfe6259fe7efc6ad438abb9e904f190c0515 (patch) | |
tree | eac177e6208be7c56b3940508c355b908e05a3b2 /src/objective-c/GRPCClient/GRPCCallOptions.h | |
parent | 351b5d0f13138690b8ce75a7675306caec5c9e62 (diff) |
Assert mutual exclusion of authTokenProvider and oauth2AccessToken
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCallOptions.h')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCallOptions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCallOptions.h b/src/objective-c/GRPCClient/GRPCCallOptions.h index 4c8bb605ea..27834b2008 100644 --- a/src/objective-c/GRPCClient/GRPCCallOptions.h +++ b/src/objective-c/GRPCClient/GRPCCallOptions.h @@ -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; |