Versions in this module Expand all Collapse all v1 v1.3.1 May 23, 2023 Changes in this version + func Notify(observation Observation) + type Event int + const CEventAccessTokenIsAJWT + const CEventAccessTokenIsNotAJWT + const CEventAccessTokenSignatureInvalid + const CEventAccessTokenSignatureValid + const CEventAuthCodeFail + const CEventAuthCodeSuccess + const CEventDeviceFlowFail + const CEventDeviceFlowSuccess + const CEventDeviceFlowSuccessWorkAround + const CEventIDTokenSignatureInvalid + const CEventIDTokenSignatureValid + const CEventRefreshTokenIsAJWT + const CEventRefreshTokenIsNotAJWT + const CEventTokenRevocationFail + const CEventTokenRevocationRTAndAT + const CEventTokenRevocationRTOnly + const EventFeatureValueChanged + const EventMailVerified + func CondEvent(cond bool, a, b Event) Event + type Observation struct + EventType Event + Identifier string + Value interface{} + type Observer struct + func NewAttachedAndObservingObserver(spec Spec) *Observer + func NewAttachedAndObservingTrueFalseObserver(spec TrueFalseObserverSpec) *Observer + func NewObserver(spec Spec) *Observer + func NewTrueFalseObserver(spec TrueFalseObserverSpec) *Observer + func (obs *Observer) AttachAndObserve() + type Spec struct + Action callback + EventTypes []Event + type TrueFalseObserverSpec struct + Action trueFalseObserverCallback + FalseEvent Event + TrueEvent Event