1. 首页
  2. 考试认证
  3. 其它
  4. Amon 2Auth Site Google只读发布历史

Amon 2Auth Site Google只读发布历史

上传者: 2024-12-29 08:23:08上传 ZIP文件 14.72KB 热度 7次

Amon2::Auth::Site::Google是Amon2的Google身份验证集成插件。可以通过以下配置启用:

+{
Auth=>{
Google=>{
client_id=>'client id',
client_secret=>'client secret',
redirect_url=>'redirect url',
scope=>['scope']
}
}
}

然后加载插件:

__PACKAGE__->load_plugin('Web::Auth',{
module=>'Google',
on_finished=>sub{
#Your callback logic here
}
});

该集成提供了通过Google进行身份验证的功能,可以直接在应用中配置和使用。

下载地址
用户评论