Skip to content

dimesoftware/identity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Dime.Security

Build Status Code coverage

Introduction

Extensions to the System.Security namespace.

Getting Started

  • You must have Visual Studio 2019 Community or higher.
  • The dotnet cli is also highly recommended.

About this project

Extensions to the System.Security namespace:

  • ClaimsIdentity: fluent ClaimsIdentity builder class.
  • ClaimsIdentityExtensions: useful extensions to the ClaimsIdentity class

Build and Test

  • Run dotnet restore
  • Run dotnet build
  • Run dotnet test

Installation

Use the package manager NuGet to install Dime.Identity:

  • dotnet cli: dotnet add package Dime.Identity
  • Package manager: Install-Package Dime.Identity

Usage

using System.Security;

public string GetUserTimeZone(ClaimsIdentity currentUser)
{
    return currentUser.GetUserClaim<string>("TimeZoneClaim");
}

Contributing

PRs Welcome

Pull requests are welcome. Please check out the contribution and code of conduct guidelines.

License

License

About

๐Ÿ’‚ Extensions to the System.Security namespace.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages