SecureBlackbox 2020 Java Edition

Questions / Feedback?

GrantType Property

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

Syntax

public int getGrantType();
public void setGrantType(int grantType);

Enumerated values: public final static int ogtAuthorizationCode = 0; public final static int ogtImplicit = 1; public final static int ogtPasswordCredentials = 2; public final static int ogtClientCredentials = 3;

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)

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