SecureBlackbox 2020 C++ Edition

Questions / Feedback?

GrantType Property

Specifies which protocol flow should be used to authorize the user.

Syntax

ANSI (Cross Platform)
int GetGrantType();
int SetGrantType(int iGrantType); Unicode (Windows) INT GetGrantType();
INT SetGrantType(INT iGrantType);

Possible Values

OGT_AUTHORIZATION_CODE(0), 
OGT_IMPLICIT(1),
OGT_PASSWORD_CREDENTIALS(2),
OGT_CLIENT_CREDENTIALS(3)
@property (nonatomic,readwrite,assign,getter=grantType,setter=setGrantType:) int grantType;
- (int)grantType;
- (void)setGrantType:(int)newGrantType;

Possible Values

OGT_AUTHORIZATION_CODE(0), 
OGT_IMPLICIT(1),
OGT_PASSWORD_CREDENTIALS(2),
OGT_CLIENT_CREDENTIALS(3)
#define PID_OAUTHCLIENT_GRANTTYPE 54

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

0

Remarks

Use this property to specify the authorization protocol to use.

ogtAuthorizationCode0Authorization Code flow should be used (see RFC 6749 Section 1.3.1)
ogtImplicit1Implicit flow should be used (see RFC 6749 Section 1.3.2)
ogtPasswordCredentials2Resource Owner Password Credentials flow should be used (see RFC 6749 Section 1.3.3)
ogtClientCredentials3Client Credentials flow should be used (see RFC 6749 Section 1.3.4)

Data Type

Integer

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