Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSessionNotFound = errors.New("session does not exist")
Functions ¶
This section is empty.
Types ¶
type SessionClient ¶
type SessionClient struct {
// contains filtered or unexported fields
}
func NewSessionClient ¶
func NewSessionClient(baseURL string) *SessionClient
func (*SessionClient) CompleteChallenge ¶
func (s *SessionClient) CompleteChallenge(challengeResponse model.ChallengeResponse) (base64.Base64String, error)
func (*SessionClient) GetHealth ¶
func (s *SessionClient) GetHealth() error
func (*SessionClient) GetHealthCheck ¶
func (s *SessionClient) GetHealthCheck() healthcheck.Result
func (*SessionClient) RequestChallenge ¶ added in v0.16.2
func (s *SessionClient) RequestChallenge() (*model.Challenge, error)
type SessionServiceRepository ¶
type SessionServiceRepository interface { RequestChallenge() (*model.Challenge, error) CompleteChallenge(challengeResponse model.ChallengeResponse) (base64.Base64String, error) GetHealth() error healthcheck.Checker }
Click to show internal directories.
Click to hide internal directories.