Table of Contents

Interface IUrlUtility

Namespace
ComponentSpace.Saml2.Utility
Assembly
ComponentSpace.Saml2.dll

Provides URL utility methods.

public interface IUrlUtility

Methods

AppendPath(string, string)

Appends a path to the URL.

string AppendPath(string url, string path)

Parameters

url string

The URL.

path string

The path.

Returns

string

The combined URL and path.

IsAbsoluteUrl(string)

Indicates whether the URL is absolute.

bool IsAbsoluteUrl(string url)

Parameters

url string

The URL.

Returns

bool

true if the URL is absolute; otherwise false.

LogRequest()

Logs the HTTP request.

void LogRequest()

ToAbsoluteUrl(string)

Converts a relative URL to an absolute URL.

string ToAbsoluteUrl(string url)

Parameters

url string

The relative URL.

Returns

string

The absolute URL.

ToHttpsUrl(string)

Converts an HTTPS URL to an HTTPS URL.

string ToHttpsUrl(string url)

Parameters

url string

The HTTP URL.

Returns

string

The HTTPS URL.