DBAUTHTokenScopeError
Objective-C
@interface DBAUTHTokenScopeError : NSObject <DBSerializable, NSCopying>
Swift
class DBAUTHTokenScopeError : NSObject, DBSerializable, NSCopying
The TokenScopeError struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The required scope to access the route.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull requiredScope;Swift
var requiredScope: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithRequiredScope:(nonnull NSString *)requiredScope;Swift
init(requiredScope: String)Parameters
requiredScopeThe required scope to access the route.
Return Value
An initialized instance.
View on GitHub
DBAUTHTokenScopeError Class Reference