API Reference
Class
OtpAuthValidator
Validation helpers for otpauth:// payloads.
Inheritance
- Object
- OtpAuthValidator
Methods
TryValidate 2 overloads
public static Boolean TryValidate(OtpAuthParseResult result, OtpAuthValidationOptions options, out String[] errors) #Returns:
BooleanValidates a detailed OTP parse result.
Parameters
- result CodeGlyphX.OtpAuthParseResult
- options CodeGlyphX.OtpAuthValidationOptions
- error System.String@
TryValidate(CodeGlyphX.OtpAuthParseResult result, CodeGlyphX.OtpAuthValidationOptions options, System.String[]@ errors) #Validates a detailed OTP parse result, returning all errors.
Parameters
- result CodeGlyphX.OtpAuthParseResult
- options CodeGlyphX.OtpAuthValidationOptions
- errors System.String[]@