Skip to content

Repository files navigation

Mx.NET.SDK.SmartSend

⚡ MultiversX .NET NativeAuth Server SDK: Library for validating native login Token for server app

How to install?

The content is delivered via nuget packages:

RemarkableTools.Mx.NativeAuthServer Package

Main Features

  • Validate login token on server side

Compatibility

*Note: The validation is a bit changed from the original MultiversX NativeAuthServer. In this SDK the ExtraInfo is mandatory and is containing the valid timestamp for the block

Quick start guide

Basic example

varnativeAuthServerConfig=newNativeAuthServerConfig();nativeAuthServerConfig.AcceptedOrigins=new[]{"https://yourwebsite.com"};// optional varnativeAuthServer=newNativeAuthServer(nativeAuthServerConfig);try{varnativeAuthToken=nativeAuthServer.Validate(accessToken);// token is valid}catch(Exceptionex)// catching all exceptions{// token is not valid}

About

⚡ MultiversX .NET NativeAuth Server SDK: Library for validating native login Token for server app

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages