common

package
v0.0.0-...-9955711 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2014 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo

type AuthInfo struct {
	User   *User
	Key    string
	Realms []*Realm
}

Key used for authentication, realms user belongs to

type Realm

type Realm struct {
	Name string
}

type User

type User struct {
	Realm    string `json:"iss"`
	Username string `json:"user"`
	Expire   int    `json:"exp"`
}

Jump to

Keyboard shortcuts

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