auth

package
v0.0.1-0...-c966c28 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 5 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(sessionProvider *db.SessionProvider) (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