Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

OCTClient Properties

iRare Media edited this page Sep 22, 2013 · 2 revisions

User

The active user for this session.

This may be set regardless of whether the session is authenticated or unauthenticated, and will control which username is used for endpoints that require one. For example, this user's login will be used with -fetchUserEventsNotMatchingEtag:.

@property (nonatomic, strong, readonly) OCTUser *user;

Authenticated

A BOOL value stating whether this client supports authenticated endpoints.

Note that this property does not specify whether the client has successfully authenticated with the server – only whether it will attempt to.

This will only be YES when created with +authenticatedClientWithUser:token:.

@property (nonatomic, getter = isAuthenticated, readonly) BOOL authenticated;