SecureBlackbox 2020 C++ Edition

Questions / Feedback?

AutoRefresh Property

Specifies whether access token should be automatically refreshed.

Syntax

ANSI (Cross Platform)
int GetAutoRefresh();
int SetAutoRefresh(int bAutoRefresh); Unicode (Windows) BOOL GetAutoRefresh();
INT SetAutoRefresh(BOOL bAutoRefresh);
@property (nonatomic,readwrite,assign,getter=autoRefresh,setter=setAutoRefresh:) BOOL autoRefresh;
- (BOOL)autoRefresh;
- (void)setAutoRefresh:(BOOL)newAutoRefresh;
#define PID_OAUTHCLIENT_AUTOREFRESH 3

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_OAuthClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_OAuthClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

TRUE

Remarks

Set this property to true to let the class automatically refresh AccessToken. If available, RefreshToken is used to renew access token. Otherwise the authorization process is initiated from the beginning, with user authentication and so on.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]