Amss.Boilerplate.Api.Configuration.ApiAppHost.ConfigureAuthentication C# (CSharp) Method

ConfigureAuthentication() private method

private ConfigureAuthentication ( ) : void
return void
        private void ConfigureAuthentication()
        {
            var authProviders = new IAuthProvider[]
                {
                    new ServiceStackCredentialsAuthAdapter(this.unityContainer)
                };
            var authFeature = new AuthFeature(() => new AuthUserSession(), authProviders)
                {
                   IncludeAssignRoleServices = false
                };
            this.Plugins.Add(authFeature);
        }