Inherits from NSObject
Declared in UPSession.h
UPSession.m

Overview

Represents an authenticated user’s active session.

Properties

authenticationToken

The authentication token of the current session, used for all HTTP requests.

@property (nonatomic, readonly) NSString *authenticationToken

Discussion

The authentication token of the current session, used for all HTTP requests.

Declared In

UPSession.h

currentUser

The currently authenticated user.

@property (nonatomic, strong) UPUser *currentUser

Discussion

The currently authenticated user.

Declared In

UPSession.h

Instance Methods

initWithToken:

Creates a new session with a given access token.

- (id)initWithToken:(NSString *)token

Parameters

token

The access token received during OAuth.

Discussion

Creates a new session with a given access token.

Declared In

UPSession.h