Documentation ¶
Index ¶
- func ClearLoginSession(store Store, r *http.Request, w http.ResponseWriter) error
- func ClearPayment(store Store, r *http.Request, w http.ResponseWriter) error
- func SetLoginSession(store sessions.Store, r *http.Request, w http.ResponseWriter, ...) error
- func SetOneLogin(store sessions.Store, r *http.Request, w http.ResponseWriter, ...) error
- func SetPayment(store sessions.Store, r *http.Request, w http.ResponseWriter, ...) error
- type InvalidSessionError
- type LoginSession
- type MissingSessionError
- type OneLoginSession
- type PaymentSession
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearLoginSession ¶
func ClearPayment ¶
func SetLoginSession ¶
func SetLoginSession(store sessions.Store, r *http.Request, w http.ResponseWriter, donorSession *LoginSession) error
func SetOneLogin ¶
func SetOneLogin(store sessions.Store, r *http.Request, w http.ResponseWriter, oneLoginSession *OneLoginSession) error
func SetPayment ¶
func SetPayment(store sessions.Store, r *http.Request, w http.ResponseWriter, paymentSession *PaymentSession) error
Types ¶
type InvalidSessionError ¶
type InvalidSessionError string
func (InvalidSessionError) Error ¶
func (e InvalidSessionError) Error() string
type LoginSession ¶
func (LoginSession) Valid ¶
func (s LoginSession) Valid() bool
type MissingSessionError ¶
type MissingSessionError string
func (MissingSessionError) Error ¶
func (e MissingSessionError) Error() string
type OneLoginSession ¶
type OneLoginSession struct { State string Nonce string Locale string Redirect string SessionID string LpaID string }
func (OneLoginSession) Valid ¶
func (s OneLoginSession) Valid() bool
type PaymentSession ¶
type PaymentSession struct {
PaymentID string
}
func (PaymentSession) Valid ¶
func (s PaymentSession) Valid() bool
Click to show internal directories.
Click to hide internal directories.