ARTAuth
Objective-C
@interface ARTAuth : NSObject <ARTAuthProtocol>
Swift
class ARTAuth : NSObject, ARTAuthProtocol, @unchecked Sendable
Creates Ably ARTTokenRequest
objects and obtains Ably Tokens from Ably to subsequently issue to less trusted clients.
See
SeeARTAuthProtocol
for details.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) ARTAuthInternal *internal
Swift
var `internal`: ARTAuthInternal { get }
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithInternal:(ARTAuthInternal *)internal queuedDealloc:(ARTQueuedDealloc *)dealloc;
Swift
init(with internal: ARTAuthInternal, queuedDealloc dealloc: ARTQueuedDealloc)
-
Undocumented
Declaration
Objective-C
- (void)internalAsync:(void (^)(ARTAuthInternal *))use;
Swift
func internalAsync(_ use: @escaping (ARTAuthInternal) -> Void)