14 个稳定版本
1.9.0 | 2022 年 3 月 20 日 |
---|---|
1.8.0 | 2022 年 2 月 1 日 |
1.7.3 | 2022 年 1 月 7 日 |
1.7.1 | 2021 年 11 月 7 日 |
1.4.2 | 2021 年 4 月 27 日 |
#324 在 身份验证 中
每月 43 次下载
用于 5 crate
1MB
30K SLoC
ATE 身份验证模型
什么是 ATE 身份验证模型?
ATE 身份验证模型是一组数据对象和业务逻辑,允许提供商创建与 ATE 以抽象方式自然集成的身份验证系统。
什么是 ATE
贡献
如果您想帮助建立一个社区以继续开发此项目,请通过 [email protected] 联系我。
身份验证服务器使用
USAGE:
auth-server [FLAGS] <SUBCOMMAND>
FLAGS:
-d, --debug Logs debug info to the console
-h, --help Prints help information
-v, --verbose Sets the level of log verbosity, can be used multiple times
-V, --version Prints version information
SUBCOMMANDS:
generate Generates the secret key that helps protect key operations like creating users
and resetting passwords
help Prints this message or the help of the given subcommand(s)
run Runs the login server
--------------------------------------------------------------------------
Generates the secret key that helps protect key operations like creating users and resetting
passwords
USAGE:
auth-server generate [OPTIONS] [key-path]
ARGS:
<key-path> Path to the secret key [default: ~/ate/auth.key]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-s, --strength <strength> Strength of the key that will be generated [default: 256]
--------------------------------------------------------------------------
Runs the login authentication and authorization server
USAGE:
auth-server run [OPTIONS] [ARGS]
ARGS:
<logs-path> Path to the log files where all the authentication data is stored [default:
~/ate/auth]
<key-path> Path to the secret key that helps protect key operations like creating users
and resetting passwords [default: ~/ate/auth.key]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-l, --listen <listen> IP address that the authentication server will isten on [default:
0.0.0.0]
-p, --port <port> Port that the authentication server will listen on [default: 5001]
身份验证工具使用
USAGE:
auth-tools [FLAGS] [OPTIONS] <SUBCOMMAND>
FLAGS:
-d, --debug Logs debug info to the console
-h, --help Prints help information
-v, --verbose Sets the level of log verbosity, can be used multiple times
-V, --version Prints version information
OPTIONS:
-a, --auth <auth> URL where the user is authenticated [default:
ws://tokera.sh/auth]
-t, --token <token> Token used to access your encrypted file-system (if you do not
supply a token then you will be prompted for a username and
password)
--token-path <token-path> Token file to read that holds a previously created token to be
used to access your encrypted file-system (if you do not supply
a token then you will be prompted for a username and password)
SUBCOMMANDS:
group Groups are collections of users that share something together
help Prints this message or the help of the given subcommand(s)
token Tokens are stored authentication and authorization secrets used by other processes
user Users are personal accounts and services that have an authentication context
--------------------------------------------------------------------------
Users are personal accounts and services that have an authentication context
USAGE:
auth-tools user <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
create Creates a new user and generates login credentials
details Returns all the details about a specific user
help Prints this message or the help of the given subcommand(s)
--------------------------------------------------------------------------
Groups are collections of users that share something together
USAGE:
auth-tools group <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
add-user Adds another user to an existing group
create Creates a new group
details Display the details about a particular group (token is required to see role
membership)
help Prints this message or the help of the given subcommand(s)
remove-user Removes a user from an existing group
--------------------------------------------------------------------------
Tokens are stored authentication and authorization secrets used by other processes
USAGE:
auth-tools token <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
gather Gather the permissions needed to access a specific group into the token using
either another supplied token or the prompted credentials
generate Generate a token with normal permissions from the supplied username and password
help Prints this message or the help of the given subcommand(s)
sudo Generate a token with extra permissions with elevated rights to modify groups
and other higher risk actions
依赖项
~119MB
~2.5M SLoC