ClientProfile Property
The type of client that is requesting authorization.
Syntax
int GetClientProfile();
int SetClientProfile(int iClientProfile);
Possible Values
CF_APPLICATION(0), CF_WEB_SERVER(1), CF_DEVICE(2), CF_MOBILE(3), CF_BROWSER(4), CF_JWT(5)
Default Value
0
Remarks
This defines the type of client that will be requesting authorization. Set this before calling GetAuthorization to inform the class to act accordingly. Possible values are:
0 (cfApplication - default) | User application such as a windows form application |
1 (cfWebServer) | Server side application such as a website |
2 (cfDevice) | Device application without a browser such as a game console |
3 (cfMobile) | Mobile application with browser support such as a smart phone or tablet |
4 (cfBrowser) | Client side browser application such as javascript |
5 (cfJWT) | Server to Server authentication using a JWT Bearer Token |
Data Type
Integer