Click or drag to resize

OAuthRequestContextBase Class

Base class for OAuth requests.
Inheritance Hierarchy

Namespace: SanteDB.Rest.OAuth.Model
Assembly: SanteDB.Rest.OAuth (in SanteDB.Rest.OAuth.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public abstract class OAuthRequestContextBase

The OAuthRequestContextBase type exposes the following members.

Constructors
 NameDescription
Public methodOAuthRequestContextBase(RestOperationContext) Constructor for when no form fields are available, for example in an HTTP GET message.
Public methodOAuthRequestContextBase(RestOperationContext, NameValueCollection) Constructor when form values a provided, for example in an HTTP POST message.
Top
Properties
 NameDescription
Public propertyAccessToken An access token that is created as part of the reuqest.
Public propertyApplicationIdentity The authenticated application identity.
Public propertyApplicationPrincipal The authenticated application principal.
Public propertyAuthenticationContext Gets or sets the authentication context at the time the handler is processing a request.
Public propertyClientId The client id of the application in this request.
Public propertyClientSecret The client secret of the application in this request.
Public propertyConfiguration The config section that is applicable during processing of the request.
Public propertyDeviceIdentity The authenticated device identity.
Public propertyDevicePrincipal The authenticated device principal.
Public propertyErrorMessage When a request fails, this should contain a textual description that will be returned in the response.
Public propertyErrorType When a request fails, this should contain the type of error that was encountered.
Public propertyExpiresIn If there is an access token, when the access token expires.
Public propertyFormFields A name-value collection of form fields in the request. This collection may be null if no fields were provided.
Public propertyIdToken An id token that is created as part of the request.
Public propertyIncomingRequest Quick access to the IncomingRequest property.
Public propertyNonce A nonce value that was part of a flow.
Public propertyOperationContext The underlying RestOperationContext which this context represents.
Public propertyOutgoingResponse Quick access to the OutgoingResponse property.
Public propertyPassword Password form field. Applicable during an authorize login or from a token post with a grant type of password.
Public propertySecurityTokenDescriptor A token descriptor that is generated as part of this request.
Public propertySession The session that is established as part of this request. Typically, an ITokenRequestHandler will set this during processing.
Public propertyTfaSecret A secret code used as a second factor in an authentication flow.
Public propertyTokenType The type of access token in the request.
Public propertyUserIdentity The authenticated user identity.
Public propertyUsername Username form field. Applicable during an authorize login or from a token post with a grant type of password.
Public propertyUserPrincipal The authenticated user principal.
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)
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
See Also