Table of Contents
API reference

Method TryGetQueryValue

Namespace
DisCatSharp.Hosting.AspNetCore.Ingress.OAuth
Assembly
DisCatSharp.Hosting.AspNetCore.dll

TryGetQueryValue(string, out string?)

Attempts to resolve a callback query parameter.

public bool TryGetQueryValue(string name, out string? value)

Parameters

name string

The query parameter name.

value string

The resolved value.

Returns

bool

true when the parameter exists.

Exceptions

ArgumentException

name is empty.