Represents helper class for management of OAuth clients.
Inheritance Hierarchy
Nemiro.OAuth OAuthManager
Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax
The OAuthManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | GetClientTypeByName |
Returns type of client by name.
|
![]() ![]() | IsRegisteredClient |
Checks registered provider with the specified name or not.
|
![]() ![]() | RegisterClient(OAuthBase) |
Registers the specified client in the application.
|
![]() ![]() | RegisterClient(String, OAuthBase) |
Registers the specified client in the application. (the main method)
|
![]() ![]() | RegisterClient(ClientName, OAuthBase) |
Registers the specified client in the application.
|
![]() ![]() | RegisterClient(String, String, String) |
Registers the specified client in the application.
|
![]() ![]() | RegisterClient(String, String, String, String, NameValueCollection, Object ) |
Registers the specified client in the application.
|
![]() ![]() | RegisterClient(ClientName, String, String, String, NameValueCollection, Object ) |
Registers the specified client in the application.
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | RegisteredClients |
Gets the list of registered clients.
|
Examples
You can use this class to register clients in your project.
OAuthManager.RegisterClient ( new FacebookClient ( "1435890426686808", "c6057dfae399beee9e8dc46a4182e8fd" ) );
See Also