Skip to content

WebAPIClientManager can be used to generate Client Ids and Client Secrets for Web APIs

Notifications You must be signed in to change notification settings

iSatishYadav/WebAPIClientManager

Repository files navigation

Web API Client Manager

Generate Client Ids and Client Secrets for your Web APIs.

  1. Only Client Secret:
using WebAPIClientManager;
...
//64 is length of random input.
string clientSecret = Generator.GetNewClientSecret(64);
...
  1. Both Client Id and Client Secret:
using WebAPIClientManager;
...
//64 is length of random input.
var idSecretPair = Generator.GetNewClientIdAndClientSecret(64);       
Guid clientId = idSecretPair.ClientId;
string clientSecret = idSecretPair.ClientSecret;
...

About

WebAPIClientManager can be used to generate Client Ids and Client Secrets for Web APIs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages