38 public async Task<bool>
TryOpenLink(Uri Link,
bool ShowErrorIfUnable)
41 if (
string.IsNullOrEmpty(Token))
48 if (!Parsed.
TryGetClaim(
"cmd", out
object Obj) || Obj is not
string Command ||
62 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId ||
64 !Parsed.
TryGetClaim(
"cur", out Obj) || Obj is not
string Currency)
84 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId2)
91 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId3)
98 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId4 ||
100 !Parsed.
TryGetClaim(
"cur", out Obj) || Obj is not
string Currency4)
118 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId5)
125 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId6)
132 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId7)
139 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId8)
146 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId9)
153 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId10)
160 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId11)
167 if (!Parsed.
TryGetClaim(
"tid", out Obj) || Obj is not
string TransactionId12)
const string NeuroAccess
The App's URI Scheme (neuroaccess)
static ? string RemoveScheme(string Url)
Removes the URI Schema from an URL.
A set of never changing property constants and helpful values.
Opens Neuro-Access App links.
Grade Supports(Uri Link)
How well the link opener supports a given link
NeuroAccessLink()
Opens ID App links.
async Task< bool > TryOpenLink(Uri Link, bool ShowErrorIfUnable)
Tries to open a link
A strongly-typed resource class, for looking up localized strings, etc.
static string GettingOptionsCancelled
Looks up a localized string similar to Getting available options was cancelled..
static string PaymentCancelled
Looks up a localized string similar to Payment Cancelled.
static string UnableToGetOptions
Looks up a localized string similar to Unable to get available options..
static string PaymentFailed
Looks up a localized string similar to Payment Failed.
Base class that references services in the app.
static ICryptoService CryptoService
Crypto service.
static IReportingStringLocalizer Localizer
Localization service
static IXmppService XmppService
The XMPP service for XMPP communication.
Class managing a script expression.
static decimal ToDecimal(object Object)
Converts an object to a double value.
Static class containing predefined JWT claim names.
const string Issuer
Issuer of the JWT
const string Subject
Subject of the JWT (the user)
const string ClientId
Client identifier
Contains information about a Java Web Token (JWT). JWT is defined in RFC 7519: https://tools....
bool TryGetClaim(string Key, out object Value)
Tries to get a claim from the JWT token.
Interface for classes that can open links.