security

package module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2017 License: MIT Imports: 5 Imported by: 6

README

Security - aah framework

Build Status codecov Go Report Card Version GoDoc License

v0.3.1 released and tagged on Apr 15, 2017

Security library houses all the application security implementation (Session, Basic Auth, Token Auth, CORS, CSRF, Security Headers, etc.) by aah framework.

Session - HTTP State Management

Features:

  • Extensible session store interface (just key-value pair)
  • Signed session data
  • Encrypted session data

security developed for aah framework. However, it's an independent library, can be used separately with any Go language project. Feel free to use it.

Installation

Stable Version - Production Ready
# install the library
go get -u aahframework.org/security.v0

See official page [TODO]

Documentation

Overview

Package security houses all the application security implementation (Session, Basic Auth, Token Auth, CORS, CSRF, Security Headers, etc.) by aah framework.

Index

Constants

View Source
const Version = "0.3.1"

Version is aah framework security library version no.

Variables

This section is empty.

Functions

This section is empty.

Types

type Security

type Security struct {
	SessionManager *session.Manager
	// contains filtered or unexported fields
}

Security is holds the security management implementation.

func New

func New(configPath string, appCfg *config.Config) (*Security, error)

New method initialize the application security configuration `security { ... }`. Which is mainly Session, CORS, CSRF, Security Headers, etc.

Directories

Path Synopsis
Package session provides HTTP state management library for aah framework.
Package session provides HTTP state management library for aah framework.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL