session

package
Version: v7.1.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func (*Builder) AuthenticateWith

func (b *Builder) AuthenticateWith(handlers ...callback.Handler) session.Builder

func (*Builder) ConnectTo

func (b *Builder) ConnectTo(url *url.URL) session.Builder

func (*Builder) Create

func (b *Builder) Create() (session.Session, error)

func (*Builder) InRealm

func (b *Builder) InRealm(realm string) session.Builder

func (*Builder) TimeoutRequestAfter

func (b *Builder) TimeoutRequestAfter(d time.Duration) session.Builder

func (*Builder) WithConnection

func (b *Builder) WithConnection(connection client.Connection) session.Builder

func (*Builder) WithTree

func (b *Builder) WithTree(tree string) session.Builder

type DefaultSession

type DefaultSession struct {
	// contains filtered or unexported fields
}

func (*DefaultSession) Logout

func (s *DefaultSession) Logout() error

func (*DefaultSession) Token

func (s *DefaultSession) Token() string

func (*DefaultSession) Valid

func (s *DefaultSession) Valid() (bool, error)

type PoPSession

type PoPSession struct {
	DefaultSession
	// contains filtered or unexported fields
}

func (*PoPSession) IncrementNonce

func (s *PoPSession) IncrementNonce()

func (*PoPSession) Nonce

func (s *PoPSession) Nonce() int

func (*PoPSession) SigningKey

func (s *PoPSession) SigningKey() crypto.Signer

Source Files

Jump to

Keyboard shortcuts

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