Click or drag to resize

OAuthClientAuthenticator Class

Client authenticator that performs an OAUTH authentication
Inheritance Hierarchy
SystemObject
  SanteDB.Messaging.FHIR.AuthenticatorOAuthClientAuthenticator

Namespace: SanteDB.Messaging.FHIR.Authenticator
Assembly: SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 3.0.2081-alpha+4e2291b954f20d29cba15591683155ca851b26eb
Syntax
public class OAuthClientAuthenticator : IFhirClientAuthenticator

The OAuthClientAuthenticator type exposes the following members.

Constructors
 NameDescription
Public methodOAuthClientAuthenticator Create a new client authenticator
Top
Properties
 NameDescription
Public propertyName Gets the configuration name of the authenticator
Top
Methods
 NameDescription
Public methodAddAuthenticationHeaders Add authentication headers to the specified client
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodExecuteWithRetryT Executes func with retry specified in [!:GetRetryWaitTimes], sleeping the thread in between.
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)
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
Fields
 NameDescription
Public fieldStatic memberOAuthAuthTokenCode Token to be used for authentication / refreshing
Public fieldStatic memberOAuthBaseEndpointUrlSettingName Auth server root
Public fieldStatic memberOAuthClientIdSettingName Authentication client identifier
Public fieldStatic memberOAuthClientSecretSettingName Authentication client secret setting
Public fieldStatic memberOAuthGrantScopeSettingName Get the scope configuration setting
Public fieldStatic memberOAuthGrantTypeSettingName Authentication type setting name
Public fieldStatic memberOAuthNoValidateToken No validating tokens
Public fieldStatic memberOAuthPasswordSettingName authentication password
Public fieldStatic memberOAuthUsernameSettingName Authentication username
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
See Also