TCGBAuthToken Class Reference

Inherits from NSObject
Declared in TCGBAuthToken.h

Overview

The TCGBAuthToken represents an authenticated token and user information for using TCGB services.

Properties

  tcgbToken

TCGB Token information

@property (nonatomic, strong) TCGBToken *tcgbToken

See Also

Declared In

TCGBAuthToken.h

  tcgbMember

User information

@property (nonatomic, strong) TCGBMember *tcgbMember

See Also

Declared In

TCGBAuthToken.h

Initialization

+ tcgbAuthTokenWithJSONObject:

Creates a TCGBAuthToken instance.

+ (TCGBAuthToken *)tcgbAuthTokenWithJSONObject:(NSDictionary *)json

Parameters

json

Creates a TCGBAuthToken instance using a dictionary.

Declared In

TCGBAuthToken.h

+ authTokenFromTCGBServerWithResponsed:

Creates a TCGBAuthToken instance.

+ (TCGBAuthToken *)authTokenFromTCGBServerWithResponsed:(NSDictionary *)responsed

Parameters

responsed

Creates a TCGBAuthToken instance using a dictionary.

Declared In

TCGBAuthToken.h

– mappingAuthList

Mapped ID Provider List

- (NSArray *)mappingAuthList

Return Value

Mapped ID Provider List

Declared In

TCGBAuthToken.h

– JSONString

stringify with this TCGBAuthToken into JSON string format.

- (NSString *)JSONString

Return Value

stringify with this TCGBAuthToken into JSON string format.

Declared In

TCGBAuthToken.h