AWSCognitoAuthUserSession Class Reference

Inherits from NSObject
Declared in AWSCognitoAuth.h
AWSCognitoAuth.m

Overview

A User session. Encapsulates all tokens (id, access and refresh tokens) for a user.

  idToken

The id token *

@property (nonatomic, readonly, nullable) AWSCognitoAuthUserSessionToken *idToken

Declared In

AWSCognitoAuth.h

  accessToken

The access token *

@property (nonatomic, readonly, nullable) AWSCognitoAuthUserSessionToken *accessToken

Declared In

AWSCognitoAuth.h

  refreshToken

The refresh token *

@property (nonatomic, readonly, nullable) AWSCognitoAuthUserSessionToken *refreshToken

Declared In

AWSCognitoAuth.h

  expirationTime

Date this session expires

@property (nonatomic, readonly, nullable) NSDate *expirationTime

Declared In

AWSCognitoAuth.h

  username

Username for this session

@property (nonatomic, readonly, nullable) NSString *username

Declared In

AWSCognitoAuth.h