auth

package
v0.0.0-...-f5dfc89 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package auth provides utilities for performing tasks related to authentication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthVersion

func GetAuthVersion(commander db.CommandRunner) (int, error)

GetAuthVersion gets the authentication schema version of the connected server and returns that value as an integer along with any error that occurred.

func VerifySystemAuthVersion

func VerifySystemAuthVersion(sessionProvider *db.SessionProvider) error

VerifySystemAuthVersion returns an error if authentication is not set up for the given server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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