Table of Contents

Class VerificationCode

Namespace
The.Security
Assembly
Instagile.dll

A single-use code produced or consumed by OneTimeCodeAuthentication

public class VerificationCode
Inheritance
VerificationCode
Inherited Members

Properties

CanonicalValue

public string CanonicalValue { get; }

Property Value

string

DisplayValue

public string DisplayValue { get; }

Property Value

string

Methods

Generate()

public static VerificationCode Generate()

Returns

VerificationCode

IsCanonical(string)

public static bool IsCanonical(string rawVerificationCode)

Parameters

rawVerificationCode string

Returns

bool

TryCanonicalise(string?, out VerificationCode)

public static bool TryCanonicalise(string? rawVerificationCode, out VerificationCode canonicalVerificationCode)

Parameters

rawVerificationCode string
canonicalVerificationCode VerificationCode

Returns

bool