function
CanonicalAuthIdentity
Normalize an authentication identity to its adapter-neutral storage and lookup key.
Arguments
| Argument | Type | Description |
|---|---|---|
value | string | Authored identity to trim and lowercase. |
Returns
The exact value adapters must use for identity equality.
stringHow it works
Adapters must compare this canonical value exactly rather than substituting database collation or case-folding rules.
Full signature
func CanonicalAuthIdentity(value string) string