-
Notifications
You must be signed in to change notification settings - Fork 7
Authentication
REST.NET tries to make authentication simple by hiding different authentication logic behind abstracted authentication objects, having left to you to only setup the right Authenticator
for you.
Right now REST.NET support the following authentication types:
Authnticator abstration objects are implementing the IAuthentication interface. This interface includes only one method which receives the request from the RestClient
and build the appropriate authentication headers.
As an example, you could have a look at the BasicAuthenticator and OAuth2Authenticator implementations that come with REST.NET.
If your application requires a special authentication, or one that is not yet supported by REST.NET you could implement your own using the IAuthentication
interface.