grant_type Property
Specifies which protocol flow should be used to authorize the user.
Syntax
def get_grant_type() -> int: ... def set_grant_type(value: int) -> None: ...
grant_type = property(get_grant_type, set_grant_type)
Default Value
0
Remarks
Use this property to specify the authorization protocol to use.
ogtAuthorizationCode | 0 | Authorization Code flow should be used (see RFC 6749 Section 1.3.1) |
ogtImplicit | 1 | Implicit flow should be used (see RFC 6749 Section 1.3.2) |
ogtPasswordCredentials | 2 | Resource Owner Password Credentials flow should be used (see RFC 6749 Section 1.3.3) |
ogtClientCredentials | 3 | Client Credentials flow should be used (see RFC 6749 Section 1.3.4) |