Search Results for

    Show / Hide Table of Contents

    Class ManualAuthCoreRestProxyHandler

    Core rest proxy that allows authentication to be passed along

    Inheritance
    System.Object
    HttpHandlerBase
    RouteHandlerBase
    ImageVaultCoreProxy
    CoreRestProxyHandler
    ManualAuthCoreRestProxyHandler
    Implements
    System.Web.IHttpHandler
    System.Web.Routing.IRouteHandler
    System.Web.SessionState.IRequiresSessionState
    Inherited Members
    CoreRestProxyHandler.ProcessRequest(HttpContextBase)
    ImageVaultCoreProxy.XForwardedUrlHeaderName
    ImageVaultCoreProxy.GetQuery(HttpContextBase)
    ImageVaultCoreProxy.GetCoreUrl(HttpContextBase)
    ImageVaultCoreProxy.GetRealUri(HttpContextBase)
    ImageVaultCoreProxy.PerformRealRequest(HttpContextBase, Uri, String, Boolean)
    ImageVaultCoreProxy.CopyResponseHeaders(IHttpWebResponse, HttpResponseBase)
    ImageVaultCoreProxy.CopyRequestHeaders(HttpRequestBase, IHttpWebRequest, Boolean)
    ImageVaultCoreProxy.CopyResponseHeader(String, String, HttpResponseBase)
    ImageVaultCoreProxy.HttpWebRequestFactory
    RouteHandlerBase.GetHttpHandler(RequestContext)
    RouteHandlerBase.CreateRoute()
    RouteHandlerBase.GetLocalPath(String)
    RouteHandlerBase.GetHandlerBaseUrl(String)
    RouteHandlerBase.HandlerPath
    HttpHandlerBase.Log
    HttpHandlerBase.IsAccessAllowed(HttpContextBase)
    HttpHandlerBase.SendInternalServerError(Exception, HttpContextBase)
    HttpHandlerBase.SendFileNotFoundResponse(HttpContextBase, String)
    HttpHandlerBase.SendAccessDeniedResponse(HttpContextBase)
    HttpHandlerBase.IsReusable
    HttpHandlerBase.DenyAnonymous
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Client.Rest
    Assembly: ImageVault.Client.dll
    Syntax
    public class ManualAuthCoreRestProxyHandler : CoreRestProxyHandler

    Constructors

    ManualAuthCoreRestProxyHandler(String)

    Creates the Handler

    Declaration
    public ManualAuthCoreRestProxyHandler(string path)
    Parameters
    Type Name Description
    System.String path

    Methods

    CopyRequestHeaders(String, String, IHttpWebRequest)

    If special handling using request header copying should occur, this method can be implemented

    Declaration
    protected override bool CopyRequestHeaders(string name, string value, IHttpWebRequest dest)
    Parameters
    Type Name Description
    System.String name

    The request header name to copy

    System.String value

    The request header value to copy

    IHttpWebRequest dest

    The destination request to copy (or not) the header to

    Returns
    Type Description
    System.Boolean

    True if copy was handled, false if copy wasn't handled and normal copy rules should occur.

    Overrides
    ImageVaultCoreProxy.CopyRequestHeaders(String, String, IHttpWebRequest)

    GetAuthorizationValue(HttpRequestBase, Boolean)

    Retrieves the authorization value for the Authorization header for the real request.

    Declaration
    protected override string GetAuthorizationValue(HttpRequestBase request, bool forceNewAuthToken)
    Parameters
    Type Name Description
    System.Web.HttpRequestBase request
    System.Boolean forceNewAuthToken

    If a new token should be forced

    Returns
    Type Description
    System.String
    Overrides
    ImageVaultCoreProxy.GetAuthorizationValue(HttpRequestBase, Boolean)
    Remarks

    Default behaviour will use the current logged in user and get an auth token from the core server

    Implements

    System.Web.IHttpHandler
    System.Web.Routing.IRouteHandler
    System.Web.SessionState.IRequiresSessionState

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022