DBAUTHTokenFromOAuth1Result
Objective-C
@interface DBAUTHTokenFromOAuth1Result : NSObject <DBSerializable, NSCopying>
Swift
class DBAUTHTokenFromOAuth1Result : NSObject, DBSerializable, NSCopying
The TokenFromOAuth1Result struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The OAuth 2.0 token generated from the supplied OAuth 1.0 token.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull oauth2Token;Swift
var oauth2Token: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithOauth2Token:(nonnull NSString *)oauth2Token;Swift
init(oauth2Token: String)Parameters
oauth2TokenThe OAuth 2.0 token generated from the supplied OAuth 1.0 token.
Return Value
An initialized instance.
View on GitHub
DBAUTHTokenFromOAuth1Result Class Reference