# google-auth **Repository Path**: ksd/google-auth ## Basic Information - **Project Name**: google-auth - **Description**: Springboot 整合谷歌身份验证器实现两步认证 - **Primary Language**: Java - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 21 - **Created**: 2022-06-21 - **Last Updated**: 2022-06-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # google-auth #### 介绍 Springboot 整合谷歌身份验证器实现两步认证 #### 使用说明 提供了两种绑定方式: 1. 密钥绑定 ``` http://localhost:8080/getSecret ``` 获取密钥后,打开谷歌身份验证器输入账户名,密钥完成绑定 2. 扫码绑定 ``` http://localhost:8080/getSecret?name=xxxx ``` 获取二维码后,打开谷歌身份验证器扫描二维码完成绑定 3. 验证 ``` http://localhost:8080/checkCode?code=xxxxxx ``` 返回 success 则表示成功,返回 error 则表示失败 #### 谷歌身份验证器APP下载 ``` http://d7.xiaotongqq.com/googe.apk ```