public static SentryAuth Issue(Dsn dsn, DateTimeOffset issuedAt) => new SentryAuth( sentryVersion: Sentry.CurrentProtocolVersion, clientVersion: string.Join("/", $"{SentryClient.Name}-csharp", SentryClient.Version), timestamp: DateTimeOffset.UtcNow.ToUnixTimeSeconds(), publicKey: dsn.GetPublicKey(), secretKey: dsn.GetSecretKey());
public void GetPublicKey() => Assert.Equal(PublicKey, SentryDsn.GetPublicKey());