Documentation ¶
Index ¶
- type Builder
- func (b *Builder) AuthenticateWith(handlers ...callback.Handler) session.Builder
- func (b *Builder) ConnectTo(url *url.URL) session.Builder
- func (b *Builder) Create() (session.Session, error)
- func (b *Builder) InRealm(realm string) session.Builder
- func (b *Builder) TimeoutRequestAfter(d time.Duration) session.Builder
- func (b *Builder) WithConnection(connection client.Connection) session.Builder
- func (b *Builder) WithTree(tree string) session.Builder
- type DefaultSession
- type PoPSession
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 (*Builder) TimeoutRequestAfter ¶
func (*Builder) WithConnection ¶
func (b *Builder) WithConnection(connection client.Connection) 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
Click to show internal directories.
Click to hide internal directories.