Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScopeUser = "user" ScopeCodeRead = "code:read" ScopeRefresh = "refresh" )
Variables ¶
View Source
var (
ExpiryAccessToken = 15 * time.Minute
)
Functions ¶
func SessionAuthMiddleware ¶
func SessionAuthMiddleware(runnerID string, service *Service) echo.MiddlewareFunc
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GenerateToken ¶
Click to show internal directories.
Click to hide internal directories.