Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEL_LOGIN_REQ reqType = 0 DEL_CONSENT_REQ reqType = 1 GET_CONSENT_REQ reqType = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsentReq ¶
type ConsentReq struct {
Client hydra.ClientInfo `json:client`
}
type ConsentSession ¶
type ConsentSession struct { GrantScope []string `json:"grant_scope"` HandledAt time.Time `json:"handled_at"` ConsentRequest ConsentReq `json:"consent_request"` }
func FetchConsentSessions ¶
func Filter ¶
func Filter(sess []ConsentSession) []ConsentSession
will keep only most recent session for each client
Click to show internal directories.
Click to hide internal directories.