ClientProfile Property
The type of client that is requesting authorization.
Syntax
__property TipaOAuthClientProfiles ClientProfile = {read=FClientProfile, write=FSetClientProfile, default=0};
enum TipaOAuthClientProfiles { cfApplication=0, cfWebServer=1, cfDevice=2, cfMobile=3, cfBrowser=4, cfJWT=5 };
Default Value
0
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 |
Data Type
Integer