Click or drag to resize

ClientOAuthServiceBehavior Class

An extension of the OAuthServiceBehavior which adds and removes cookies
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.OAuth.RestOAuthServiceBehavior
    SanteDB.Client.OAuthClientOAuthServiceBehavior

Namespace: SanteDB.Client.OAuth
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public class ClientOAuthServiceBehavior : OAuthServiceBehavior, 
	IClientOAuthServiceContract, IOAuthServiceContract

The ClientOAuthServiceBehavior type exposes the following members.

Constructors
 NameDescription
Public methodClientOAuthServiceBehaviorInitializes a new instance of the ClientOAuthServiceBehavior class
Top
Methods
 NameDescription
Public methodAclPrecheck ACL Pre-check
Protected methodAddTokenDescriptorToContext Create a descriptor that can be serialized into a JWT or other token format.
(Inherited from OAuthServiceBehavior)
Protected methodAddTokensToContext Creates the proper tokens in the context based on the server configuration.
(Inherited from OAuthServiceBehavior)
Public methodAuthorize HTTP GET Authorization Endpoint.
(Inherited from OAuthServiceBehavior)
Public methodAuthorize_Post HTTP POST Authorization endpoint.
(Inherited from OAuthServiceBehavior)
Protected methodBeforeSendTokenResponse Optional override method that is executed just before a token response is sent. Allows a derived class to override the response.
(Overrides OAuthServiceBehaviorBeforeSendTokenResponse(OAuthTokenRequestContext, OAuthTokenResponse))
Public methodContent Render the specified login asset.
(Inherited from OAuthServiceBehavior)
Protected methodCreateSessionResponse
(Inherited from OAuthServiceBehavior)
Protected methodCreateTokenResponse Create a token response.
(Inherited from OAuthServiceBehavior)
Public methodDiscovery Gets the discovery object
(Inherited from OAuthServiceBehavior)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodEstablishClientSession Establishes a session for a daemon application and optional device identity. No user is associated with the session.
(Inherited from OAuthServiceBehavior)
Protected methodEstablishUserSession Create a token response
(Inherited from OAuthServiceBehavior)
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)
Protected methodGetNameClaimType Retrieves the claim type that is used for name validation in the TokenValidationParameters.
(Inherited from OAuthServiceBehavior)
Protected methodGetSessionFromIdToken Alternate resolution method for TokenAuthorizationAccessBehavior when the token type is not bearer.
(Inherited from OAuthServiceBehavior)
Protected methodGetTokenValidationParameters Gets a TokenValidationParameters object to validate tokens issued by this service.
(Inherited from OAuthServiceBehavior)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodIsGrantTypePermitted Checks if the grant type that was provided is allowed by this service. The default implementation checks for a TokenRequestHandler for the grant type.
(Inherited from OAuthServiceBehavior)
Public methodJsonWebKeySet Gets the keys associated with this service.
(Inherited from OAuthServiceBehavior)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnAfterSignOut Invoked after the signout operation is executed. AbandonedSessions contains the sessions that were abandoned.
(Overrides OAuthServiceBehaviorOnAfterSignOut(OAuthSignoutRequestContext))
Protected methodOnBeforeSignOut Invoked before the signout operation is executed.
(Inherited from OAuthServiceBehavior)
Public methodPing Perform a ping
(Inherited from OAuthServiceBehavior)
Public methodSession Get the specified session information
(Inherited from OAuthServiceBehavior)
Public methodSignout The GET version of Signout(NameValueCollection)
(Inherited from OAuthServiceBehavior)
Public methodSignout(NameValueCollection) Process a signout request flow.
(Inherited from OAuthServiceBehavior)
Public methodToken OAuth token request
(Inherited from OAuthServiceBehavior)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodTryGetApplicationIdentity Try to resolve an application identity from a token request context.
(Inherited from OAuthServiceBehavior)
Protected methodTryGetDeviceIdentity Try to resolve a device identity from a token request context.
(Inherited from OAuthServiceBehavior)
Protected methodTryGetRemoteIp
(Inherited from OAuthServiceBehavior)
Public methodUserInfo Get the specified session information
(Inherited from OAuthServiceBehavior)
Top
Fields
 NameDescription
Protected field_AppletManager Applet manager for use in contexts where multiple solutions are not supported (like the dCDR)
(Inherited from OAuthServiceBehavior)
Protected field_AppletSolutionManager Applet solution manager.
(Inherited from OAuthServiceBehavior)
Protected field_SymmetricProvider Symmetric encryption provider.
(Inherited from OAuthServiceBehavior)
Protected field_TokenRequestHandlers A list of grant type names and corresponding ITokenRequestHandler to process the request.
(Inherited from OAuthServiceBehavior)
Protected fieldm_AppIdentityProvider Application identity provider.
(Inherited from OAuthServiceBehavior)
Protected fieldm_configuration Configuration for OAuth provider.
(Inherited from OAuthServiceBehavior)
Protected fieldm_DeviceIdentityProvider Device identity provider.
(Inherited from OAuthServiceBehavior)
Protected fieldm_JwtHandler JWT Handler to create JWTs with.
(Inherited from OAuthServiceBehavior)
Protected fieldm_LocalizationService Localization service.
(Inherited from OAuthServiceBehavior)
Protected fieldm_masterConfig Master secuirity configuration.
(Inherited from OAuthServiceBehavior)
Protected fieldm_policyEnforcementService Policy Enforcement Service.
(Inherited from OAuthServiceBehavior)
Protected fieldm_SessionIdentityProvider Session Identity Provider that can authenticate and return a principal for a given session.
(Inherited from OAuthServiceBehavior)
Protected fieldm_SessionProvider Session Provider
(Inherited from OAuthServiceBehavior)
Protected fieldm_SessionResolver Session resolver
(Inherited from OAuthServiceBehavior)
Protected fieldm_traceSource Trace Source
(Inherited from OAuthServiceBehavior)
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