Property RedirectSchemes
RedirectSchemes
Gets the custom URI schemes that apps' callback addresses can use, such as myapp for myapp://passkey. Matched exactly
(ignoring case). A trailing colon is ignored. Standard schemes that browsers handle themselves, such as http, https and
javascript, are not allowed.
Declaration
public IList<string> RedirectSchemes { get; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Remarks
On mobile platforms another app can register the same custom scheme and receive the credential instead. A sign-in bound to a PKCE code challenge (see BeginSignInAsync(string?, string?, CancellationToken)) cannot be finished by an app that only receives its credential. An app that registers the scheme can still open the page with a sign-in it began itself, which the page cannot tell apart from a sign-in of the app the scheme was meant for.