Skip to content

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

License

Notifications You must be signed in to change notification settings

dimesoftware/identity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

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

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages