Click or drag to resize

SessionHandler Methods

The SessionHandler type exposes the following members.

Methods
  Name Description
Public method Static member ClearSessionCache Clears any cached session for the specified sessionID.
Public method Dispose Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler.
(Inherited from HttpMessageHandler)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the DelegatingHandler, and optionally disposes of the managed resources.
(Inherited from DelegatingHandler)
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method Static member GetAuthenticationTokenFromCookie(HttpRequestMessage, String) Gets the authentication token as defined in the request cookie header values.
Public method Static member GetAuthenticationTokenFromCookie(IOwinRequest, String) Gets the authentication token as defined in the request cookie header values.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method Static member GetSessionIDFromCookie(HttpRequestMessage, String) Gets the session ID Guid as defined in the request cookie header values.
Public method Static member GetSessionIDFromCookie(IOwinRequest, String) Gets the session ID Guid as defined in the Owin cookie header values.
Public method Static member GetSessionIDFromCookie(IRequest, String) Gets the session ID Guid as defined in the SignalR cookie header values.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method SendAsync Modifies the HTTP request message pipeline to include a session identifier.
(Overrides DelegatingHandlerSendAsync(HttpRequestMessage, CancellationToken))
Public method Static member SetCookie Gets the session state as defined in the request cookie header values.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method Static member TryGetCachedCredentials Attempts to use the authentication token to retrieve the user's credentials from the credential cache.
Public method Static member TryGetSessionID Tries to get the session ID Guid as defined in the request properties dictionary.
Public method Static member TryGetSessionState Tries to get the session state as defined in the request properties dictionary.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also