Click or drag to resize

OAuthServiceBehavior Methods

The OAuthServiceBehavior type exposes the following members.

Methods
 NameDescription
Protected methodAddTokenDescriptorToContext Create a descriptor that can be serialized into a JWT or other token format.
Protected methodAddTokensToContext Creates the proper tokens in the context based on the server configuration.
Public methodAuthorize HTTP GET Authorization Endpoint.
Public methodAuthorize_Post HTTP POST Authorization endpoint.
Protected methodBeforeSendTokenResponse Optional override method that is executed just before a token response is sent. Allows a derived class to override the response.
Public methodContent Render the specified login asset.
Protected methodCreateSessionResponse 
Protected methodCreateTokenResponse Create a token response.
Public methodDiscovery Gets the discovery object
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.
Protected methodEstablishUserSession Create a token response
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.
Protected methodGetSessionFromIdToken Alternate resolution method for TokenAuthorizationAccessBehavior when the token type is not bearer.
Protected methodGetTokenValidationParameters Gets a TokenValidationParameters object to validate tokens issued by this service.
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.
Public methodJsonWebKeySet Gets the keys associated with this service.
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.
Protected methodOnBeforeSignOut Invoked before the signout operation is executed.
Public methodPing Perform a ping
Public methodSession Get the specified session information
Public methodSignout The GET version of Signout(NameValueCollection)
Public methodSignout(NameValueCollection) Process a signout request flow.
Public methodToken OAuth token request
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.
Protected methodTryGetDeviceIdentity Try to resolve a device identity from a token request context.
Protected methodTryGetRemoteIp 
Public methodUserInfo Get the specified session information
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