MojoAuth.NET
1.0.6
.NET Standard 2.0
dotnet add package MojoAuth.NET --version 1.0.6
NuGet\Install-Package MojoAuth.NET -Version 1.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MojoAuth.NET" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MojoAuth.NET --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MojoAuth.NET, 1.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MojoAuth.NET as a Cake Addin
#addin nuget:?package=MojoAuth.NET&version=1.0.6
// Install MojoAuth.NET as a Cake Tool
#tool nuget:?package=MojoAuth.NET&version=1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MojoAuth DotNet SDK
Documentation
- Configuration - Everything you need to begin using the MojoAuth SDK.
Installation
Run the following command in the NuGet Package Manager Console:
readme
PM> Install-Package MojoAuth.NET
Usage
Take a peek:
Before making any API calls, the MojoAuth API client must be initialized with your MojoAuth API Key and Secret.
Sample code:
using MojoAuth.NET;
var mojoAuthHttpClient = new MojoAuthHttpClient("____key____", "____secret____");
var resp = await mojoAuthHttpClient.SendMagicLink("email.address@example.com");
Console.WriteLine(resp.Result.StateId);
or alternatively,
using MojoAuth.NET;
var mojoAuthHttpClient = new MojoAuthHttpClient(new MojoAuthHttpClientOptions()
{
Key = "your mojoauth api key",
Secret = "your mojoauth api secret",
BaseUrl = "https://your_tenant.mojoauth.com/api" // Optional, Only applicable for single tenant private cloud
});
var resp = await mojoAuthHttpClient.SendMagicLink("email.address@example.com");
Console.WriteLine(resp.Result.StateId);
How to contribute
We appreciate all kinds of contributions from anyone.
Please check the contributing guide to become a contributor.
License
For more information on licensing, please refer to License
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- System.Text.Json (>= 6.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.