API version:
Show / Hide Table of Contents

Class UrlFormatter

Contains helper methods for URL formatting.

Inheritance
System.Object
UrlFormatter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public static class UrlFormatter

Methods

ApplyParametersToPath(HttpRequest)

Applies path parameters to a URL template.

Declaration
public static string ApplyParametersToPath(HttpRequest request)
Parameters
Type Name Description
HttpRequest request

The HTTP request options.

Returns
Type Description
System.String

A URL with template variables replaced with matching path parameters.

Encode(Object)

Encodes values using URL encoding rules.

Declaration
public static string Encode(object value)
Parameters
Type Name Description
System.Object value

The value to encode.

Returns
Type Description
System.String

A URL encoded string.

Remarks

Wraps built-in URL encoding functionality with existing logic.

Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.