Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( NewHTTPClient, wire.Struct(new(SessionInfoMiddleware), "*"), )
Functions ¶
func GetValidSessionInfo ¶
func GetValidSessionInfo(ctx context.Context) *model.SessionInfo
func WithSessionInfo ¶
Types ¶
type HTTPClient ¶
func NewHTTPClient ¶
func NewHTTPClient() HTTPClient
type SessionInfoMiddleware ¶
type SessionInfoMiddleware struct { AuthgearConfig *portalconfig.AuthgearConfig HTTPClient HTTPClient Clock clock.Clock }
Click to show internal directories.
Click to hide internal directories.