mocks

package
v0.0.0-...-dc8a8ef Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionCache

type SessionCache struct {
	ClearSessionsFn        func()
	ClearSessionsFnInvoked bool
	SaveSessionsFn         func(session []file.OktaSessionCache)
	SaveSessionsFnInvoked  bool
	SessionsFn             func() ([]file.OktaSessionCache, error)
	SessionsFnInvoked      bool
}

func DefaultSessionCache

func DefaultSessionCache() SessionCache

func (*SessionCache) ClearSessions

func (s *SessionCache) ClearSessions()

func (*SessionCache) SaveSessions

func (s *SessionCache) SaveSessions(sessions []file.OktaSessionCache)

func (*SessionCache) Sessions

func (s *SessionCache) Sessions() ([]file.OktaSessionCache, error)

Jump to

Keyboard shortcuts

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