Click or drag to resize

OAuthCookieRefreshTokenHandler Class

A special token handler for client scenarios where the client does not have access to the refresh token for security purposes.
Inheritance Hierarchy
SystemObject
  SanteDB.Client.OAuthOAuthCookieRefreshTokenHandler

Namespace: SanteDB.Client.OAuth
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public class OAuthCookieRefreshTokenHandler : ITokenRequestHandler, 
	IServiceImplementation

The OAuthCookieRefreshTokenHandler type exposes the following members.

Constructors
 NameDescription
Public methodOAuthCookieRefreshTokenHandler Dependency injection constructor
Top
Properties
 NameDescription
Public propertyServiceName Gets the service name
Public propertySupportedGrantTypes Gets the supported grant types for the Token handler. This value is read during instantiation to "wire up" the handler to the grant types it will process.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHandleRequest Handle a request for a token.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
Example
POST /oauth_token HTTP/1.1 Content-Type: application/json { "grant_type": "x-refresh-cookie" }
See Also