{"id":75238,"library":"sa-token-core","title":"Sa-Token Core","description":"A lightweight Java web authentication and authorization framework with comprehensive features and easy usage.","status":"active","version":"1.45.0","language":"java","source_language":null,"source_url":"https://github.com/dromara/sa-token","tags":["authentication","authorization","web","security","java"],"install":[{"cmd":"<dependency>\n  <groupId>cn.dev33</groupId>\n  <artifactId>sa-token-core</artifactId>\n  <version>1.45.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'cn.dev33:sa-token-core:1.45.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"StpUtil","correct":"cn.dev33.satoken.stp.StpUtil"}],"quickstart":{"code":"import cn.dev33.satoken.stp.StpUtil;\n// Login a user by ID\nStpUtil.login(10001);\n// Check if logged in\nSystem.out.println(StpUtil.isLogin());","lang":"java","description":"Login a user and check authentication status."},"warnings":[{"fix":"Set sa-token.token-name in your configuration to a custom value.","message":"Sa-Token uses a default token name 'satoken' which may conflict with other frameworks; configure via application properties.","severity":"gotcha","affected_versions":"< 1.30.0"}],"env_vars":null,"search_vec":"'authent':9,19 'author':11,20 'comprehens':14 'core':4 'easi':17 'featur':15 'framework':12 'java':7,23 'lightweight':6 'sa':2 'sa-token':1 'secur':22 'token':3 'usag':18 'web':8,21","created_at":"2026-06-17T19:14:17.435279+00:00","updated_at":"2026-06-17T19:14:17.435279+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dromara/sa-token","github":"https://github.com/dromara/sa-token","docs":"https://appdoc.app/artifact/cn.dev33/sa-token-core/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth","web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}