ClientProfile Property
The type of client that is requesting authorization.
Syntax
public int getClientProfile(); public void setClientProfile(int clientProfile);
Enumerated values: public final static int cfApplication = 0; public final static int cfWebServer = 1; public final static int cfDevice = 2; public final static int cfMobile = 3; public final static int cfBrowser = 4; public final static int cfJWT = 5;
Remarks
This defines the type of client that will be requesting authorization. Set this before calling GetAuthorization to inform the component 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 |
Default Value
0