ClientProfile Property
The type of client that is requesting authorization.
Syntax
[VB.NET] Public Property ClientProfile As OauthClientProfiles
[C#] public OauthClientProfiles ClientProfile {get; set;}
enum OauthClientProfiles { cfApplication, cfWebServer, cfDevice, cfMobile, cfBrowser, cfJWT }
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