SdkCredential Class Reference

Inherits from NSObject
Declared in SdkCredential.h

Overview

For use with initializeMerchantWithCredentials

– initWithAccessToken:refreshUrl:environment:

Initialize with access token, token refresh url and environment

- (id)initWithAccessToken:(NSString *)aToken refreshUrl:(NSString *)rUrl environment:(NSString *)env

Discussion

Initialize with access token, token refresh url and environment

Declared In

SdkCredential.h

– initWithEnvironment:

Initialize with environment, set other properties later

- (id)initWithEnvironment:(NSString *)env

Discussion

Initialize with environment, set other properties later

Declared In

SdkCredential.h

– setTokenRefreshUrl:

Set the token refresh url

- (SdkCredential *)setTokenRefreshUrl:(NSString *)refreshUrl

Discussion

Set the token refresh url

Declared In

SdkCredential.h

– setRepo:

Set the firmware update repo

- (SdkCredential *)setRepo:(NSString *)repository

Discussion

Set the firmware update repo

Declared In

SdkCredential.h

– setFirstPartyCredentials:appSecret:

Set first party credentials: clientId and appSecret

- (SdkCredential *)setFirstPartyCredentials:(NSString *)clientId appSecret:(NSString *)appSecret

Discussion

Set first party credentials: clientId and appSecret

Declared In

SdkCredential.h

– setThirdPartyCredentials:

Set third party credentials: accessToken

- (SdkCredential *)setThirdPartyCredentials:(NSString *)accessToken

Discussion

Set third party credentials: accessToken

Declared In

SdkCredential.h

  accessToken

Access token

@property (nonatomic, copy) NSString *accessToken

Discussion

Access token

Declared In

SdkCredential.h

  refreshUrl

Refresh url

@property (nonatomic, copy) NSString *refreshUrl

Discussion

Refresh url

Declared In

SdkCredential.h

  refreshToken

Refresh token

@property (nonatomic, copy) NSString *refreshToken

Discussion

Refresh token

Declared In

SdkCredential.h

  clientId

Client id

@property (nonatomic, copy) NSString *clientId

Discussion

Client id

Declared In

SdkCredential.h

  appSecret

App secret

@property (nonatomic, copy) NSString *appSecret

Discussion

App secret

Declared In

SdkCredential.h

  environment

Environment

@property (nonatomic, copy) NSString *environment

Discussion

Environment

Declared In

SdkCredential.h

  repository

Firmware update repo

@property (nonatomic, copy) NSString *repository

Discussion

Firmware update repo

Declared In

SdkCredential.h