Namespace Dangl.RestClient
Classes
AuthenticationHandler
This handler appends OAuth2 Bearer tokens for allowed base uris
DanglHttpClientAccessor
This class makes an HttpClient available, it can be used with the pattern from the HttpClientFactory.
DanglHttpClientAccessor<T>
This class makes an
FallbackHandler
This handler falls back to different base urls in case of server or network errors.
HttpClientExtensions
Extensions that help with HttpClient operations
InMemoryTokenStorage
Simple ITokenStorage implementation
NoOpTokenHandler
This is a no-operation token handler which can neither get nor refresh tokens. It can be used as default implementation where required, but it has no functionality.
OAuthToken
This class represents data about an OAuth2 Bearer token
ResponseWrapper
This container wraps Http responses
ResponseWrapper<T>
This container wraps Http responses
ServiceCollectionExtensions
Extensions to work with Dangl.RestClient classes
Interfaces
ITokenHandler
This interface can be used to allow the AuthenticationHandler to request new and refreshed tokens by itself.
ITokenStorage
Base interface for token storage