Method TryParseGrantTypeName
- Namespace
- MailFathom.Infrastructure.Mail.OAuth
- Assembly
- MailFathom.Infrastructure.dll
TryParseGrantTypeName(string?, out MailOAuthGrant)
Parses an operator-supplied grant name, ignoring case and surrounding whitespace.
public static bool TryParseGrantTypeName(string? grantTypeName, out MailOAuthGrant grant)
Parameters
grantTypeNamestringThe configured grant name.
grantMailOAuthGrantThe parsed grant when the name is supported; otherwise the unspecified default.