Skip to content

Console app demonstrating how to aquire an access token and how to use it when calling a protected API.

Notifications You must be signed in to change notification settings

NVE/AquireTokenDeamonApp

Repository files navigation

TestDeamonApp

This is a console app demonstration how to aquire an access token from a Microsoft AzureAD B2C Tenant, and how to use it when calling a protected NVE API, in this case, the Regobs API.

Prerequisites

You will need to register a Regobs user account. All you have to do is login on Regobs and set your nickname. Login on the test environment here: https://test.regobs.no/

Run

Edit the appsettings.json file and hit run. It is preconfigured to access the test tenant, and the test environment of the Regobs API. It will call the GetObserver endpoint, and if successful, you will get your Regobs user info as a result.

About

Console app demonstrating how to aquire an access token and how to use it when calling a protected API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages