Class OAuth2HttpBehaviourFactory
This factory can be used to create a IHttpBehaviour which handles OAuth 2 requests
Inheritance
System.Object
OAuth2HttpBehaviourFactory
Namespace:Dapplo.HttpExtensions.OAuth
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class OAuth2HttpBehaviourFactory
Methods
| Improve this Doc View SourceCreate(OAuth2Settings, IHttpBehaviour)
Create a specify OAuth2 IHttpBehaviour
Declaration
public static IHttpBehaviour Create(OAuth2Settings oAuth2Settings, IHttpBehaviour fromHttpBehaviour = null)
Parameters
| Type | Name | Description |
|---|---|---|
| OAuth2Settings | oAuth2Settings | OAuth2Settings |
| IHttpBehaviour | fromHttpBehaviour | IHttpBehaviour to clone, null if a new needs to be generated |
Returns
| Type | Description |
|---|---|
| IHttpBehaviour | IHttpBehaviour |