Skip to content

Instantly share code, notes, and snippets.

Dominick Baier leastprivilege

View GitHub Profile
View LinksForStandup.txt
Link list for .NET community standup
ASP.NET Core API authorization docs
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity-api-authorization?view=aspnetcore-3.0
IdentityServer4 docs
https://identityserver4.readthedocs.io/en/latest/
IdentityServer4 organization
https://github.com/IdentityServer
@leastprivilege
leastprivilege / Whisk(e)y pre-release versioning scheme
Last active Apr 5, 2019
alphas, betas and RCs are boring - that's what I gonna use in the future for pre-release builds
View Whisk(e)y pre-release versioning scheme
I am fed up with alphas, betas and release candidates - especially since they don't mean anything anymore.
Here's my naming scheme for pre-releases. Slàinte!
aberfeldy
aberlour
ardbeg
ardmore
arran
aultmore
@leastprivilege
leastprivilege / id_clone.cmd
Last active Aug 3, 2018
Cloning identity* repos
View id_clone.cmd
md identity
cd identity
md server3
cd server3
git clone -b dev https://github.com/IdentityServer/IdentityServer3.git IdentityServer3
git clone -b dev https://github.com/IdentityServer/IdentityServer3.AccessTokenValidation.git AccessTokenValidation
git clone -b dev https://github.com/IdentityServer/IdentityServer3.Samples.git Samples
git clone -b dev https://github.com/IdentityServer/IdentityServer3.EntityFramework.git EntityFramework
View OwinSharedConfig.cs
public class StsMiddleware
{
private readonly Func<IDictionary<string, object>, Task> _next;
private readonly IStsConfig _config;
public StsMiddleware(Func<IDictionary<string, object>, Task> next)
: this(next, new AppConfigStsConfig())
{}
public StsMiddleware(Func<IDictionary<string, object>, Task> next, IStsConfig config = null)
You can’t perform that action at this time.