Fhi.ClientCredentials.Tools.GetAccessToken
1.0.1
dotnet tool install --global Fhi.ClientCredentials.Tools.GetAccessToken --version 1.0.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Fhi.ClientCredentials.Tools.GetAccessToken --version 1.0.1
#tool dotnet:?package=Fhi.ClientCredentials.Tools.GetAccessToken&version=1.0.1
nuke :add-package Fhi.ClientCredentials.Tools.GetAccessToken --version 1.0.1
gettoken command line tool
This tool create an access token based on a given JSON file containing a client credentials configuration. If you are not using the standard heading "ClientCredentialsConfiguration" you can supply the section name as the last argument.
Usage:
gettoken [ConfigSectionName]
gettoken [appsettings.json ..] [ConfigSectionName]
gettoken [directory-to-search] [ConfigSectionName]
If no files are given it will search in the given directiory for any "appsettings*.json" files and "HelseID Configuration *.json" files. If no directory is given it will search the working directory.
The tool will automatically try to add additional information from environment-specific files, so if you supply the file "appsettings.json" it will also include "appsettings.Development.json".
You can change the default environment name ("Development") by setting the env var ASPNETCORE_ENVIRONMENT.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.