TCGBProviderAuthToken Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCopying |
Declared in | TCGBProviderAuthCredential.h |
Overview
The TCGBProviderAuthToken class has several access token information. There are OAuth 2.0 Type properties.
Properties
accessToken
Accss Token
@property (nonatomic, strong) NSString *accessToken
Declared In
TCGBProviderAuthCredential.h
refreshToken
Refresh Token
@property (nonatomic, strong) NSString *refreshToken
Declared In
TCGBProviderAuthCredential.h
accessTokenSecret
Access Token Secret
@property (nonatomic, strong) NSString *accessTokenSecret
Declared In
TCGBProviderAuthCredential.h
expirationTime
Expiration Time
@property (nonatomic, assign) long expirationTime
Declared In
TCGBProviderAuthCredential.h
customAuthType
Custom Auth Type
@property (nonatomic, assign, getter=isCustomAuthType) BOOL customAuthType
Discussion
Warning: If identity provider is not supported OAuth 2.0 such as iOS GameCenter, You should use this property for senting auth information toward TCGB Server.
Declared In
TCGBProviderAuthCredential.h
subCode
iosgamecenter와 같이 oauth 형식에서 크게 벗어나는 인증 서비스는 TCGBProviderAuthExtra를 바라보도록 한다.
@property (nonatomic, strong) NSString *subCode
Declared In
TCGBProviderAuthCredential.h
Initialization
+ authTokenWithAccessToken:refreshToken:acessTokenSecret:expirationTime:
Creates TCGBProviderAuthToken instance.
+ (TCGBProviderAuthToken *)authTokenWithAccessToken:(NSString *)accessToken refreshToken:(NSString *)refreshToken acessTokenSecret:(NSString *)accessTokenSecret expirationTime:(long)expirationTime
Parameters
accessToken |
Access Token |
---|---|
refreshToken |
Refresh Token |
accessTokenSecret |
Access Token Secret |
expirationTime |
Expiration Time |
Declared In
TCGBProviderAuthCredential.h