Discuss this help topic in SecureBlackbox Forum

TSBOAuth2GrantType

Declared in     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Defines possible OAuth 2.0 authorization grant types according to RFC 6749.

Declaration

[C#/Java]
    public enum TSBOAuth2GrantType { oauthAuthorizationCode = 0, oauthImplicit = 1, oauthResourceOwnerPassword = 2, oauthClientCredentials = 3 };

[VB.NET]
    Enum TSBOAuth2GrantType
        oauthAuthorizationCode = 0
        oauthImplicit = 1
        oauthResourceOwnerPassword = 2
        oauthClientCredentials = 3
    End Enum

[Pascal]
    TSBOAuth2GrantType = (oauthAuthorizationCode, oauthImplicit, oauthResourceOwnerPassword, oauthClientCredentials);

[C++]
    typedef uint8_t TSBOAuth2GrantTypeRaw;
    typedef enum { oauthAuthorizationCode = 0, oauthImplicit = 1, oauthResourceOwnerPassword = 2, oauthClientCredentials = 3 } TSBOAuth2GrantType;

[PHP]
    class TSBOAuth2GrantType extends TSBBaseEnum {
        const oauthAuthorizationCode = 0;
        const oauthImplicit = 1;
        const oauthResourceOwnerPassword = 2;
        const oauthClientCredentials = 3;
    }

Possible values:


Declared in

.NET:
  • Namespace: SBOAuth2
  • Assembly: SecureBlackbox
VCL:
  • Unit: SBOAuth2
Java:
  • Package: SecureBlackbox.Base.jar
C++:
  • sboauth2.h

Discuss this help topic in SecureBlackbox Forum