Version 1.3 - Updated on 8/11/2016
Superclass: NSObject
Declared In: PCClientCredentials.h
The PCClientCredentials class stores client credentials such as clientID
, clientSecret
and redirectURL
received during the application registration on the Developer Portal.
- (id)initWithClientID:(NSString *)clientID clientSecret:(NSString *)clientSecret redirectURL:(NSString *)redirectURL keychainID:(NSString *)keychainID;
PCClientCredentials
object passing clientID
, clientSecret
, redirectURL
and keychainID
. If keychainID
is passed nil, access token received through OAuth 2.0 call is not saved in the keychain.clientID
@property (nonatomic, readonly) NSString *clientID;
clientSecret
@property (nonatomic, readonly) NSString *clientSecret;
keychainID
@property (nonatomic, readonly) NSString *keychainID;
keychainID
, if authorization token needs to be persisted and stored in Keychain.redirectURLString
@property (nonatomic, readonly) NSString *redirectURLString;
Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.