aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/GRPCCall+OAuth2.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-04 13:20:49 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-11-04 13:20:49 -0700
commitb65e234f7af6df1625ccd4dec386e0fa2f573eb7 (patch)
tree07071573c03e526c16fbe3bfd487a2f3060503fb /src/objective-c/GRPCClient/GRPCCall+OAuth2.h
parent31c5ee230369b758978c5e4e87911d759a7f9184 (diff)
parent4736c55e0f923b8f3b8713449500a43ab8686ae3 (diff)
Merge github.com:grpc/grpc into fuzzit
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall+OAuth2.h')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall+OAuth2.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall+OAuth2.h b/src/objective-c/GRPCClient/GRPCCall+OAuth2.h
index 467c6332c1..6b443877e9 100644
--- a/src/objective-c/GRPCClient/GRPCCall+OAuth2.h
+++ b/src/objective-c/GRPCClient/GRPCCall+OAuth2.h
@@ -37,17 +37,15 @@
@interface GRPCCall (OAuth2)
/**
- * Setting this property is equivalent to setting "Bearer <passed token>" as the
- * value of the request header with key "authorization" (the authorization
- * header). Setting it to nil removes the authorization header from the request.
- * The value obtained by getting the property is the OAuth2 bearer token if the
- * authorization header of the request has the form "Bearer <token>", or nil
- * otherwise.
+ * Setting this property is equivalent to setting "Bearer <passed token>" as the value of the
+ * request header with key "authorization" (the authorization header). Setting it to nil removes the
+ * authorization header from the request.
+ * The value obtained by getting the property is the OAuth2 bearer token if the authorization header
+ * of the request has the form "Bearer <token>", or nil otherwise.
*/
@property(atomic, copy) NSString *oauth2AccessToken;
-/** Returns the value (if any) of the "www-authenticate" response header (the
- * challenge header). */
+/** Returns the value (if any) of the "www-authenticate" response header (the challenge header). */
@property(atomic, readonly) NSString *oauth2ChallengeHeader;
@end