authorization (property)
OAuth 2.0 Authorization Token.
Syntax
@property (nonatomic,readwrite,assign,getter=authorization,setter=setAuthorization:) NSString* authorization; - (NSString*)authorization; - (void)setAuthorization:(NSString*)newAuthorization;
public var authorization: String { get {...}
set {...} }
Default Value
""
Remarks
This class supports authentication via OAuth 2.0. First, perform OAuth authentication using the OAuth class or a separate process. Once complete you should have an authorization string which looks like:
Bearer ya29.AHES6ZSZEJzATdZYjeihDn5W-VrXSsxEZu5p0pclxGdKKQAssign this value to the Authorization property before attempting any operations. Consult the documentation for the service for more information about supported scope values and more details on OAuth authentication.