Versions in this module Expand all Collapse all v0 v0.1.5 Nov 26, 2025 Changes in this version + type SaTokenContext struct + func NewContext(ctx adapter.RequestContext, mgr *manager.Manager) *SaTokenContext + func (c *SaTokenContext) CheckLogin() error + func (c *SaTokenContext) GetLoginID() (string, error) + func (c *SaTokenContext) GetManager() *manager.Manager + func (c *SaTokenContext) GetRequestContext() adapter.RequestContext + func (c *SaTokenContext) GetTokenValue() string + func (c *SaTokenContext) HasPermission(permission string) bool + func (c *SaTokenContext) HasRole(role string) bool + func (c *SaTokenContext) IsLogin() bool