Google Authenticator的Java API [英] java API for google Authenticator

查看:102
本文介绍了Google Authenticator的Java API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Google Authenticator添加两个因素的身份验证,并且想知道Google是否提供了Java api.我尝试搜索它,但没有找到任何东西.如果有的话,谁能指出我的Java API.如果没有,我该如何在基于Web的Java应用程序中使用Google Authenticator.我正在为现有应用程序使用Spring框架

I wanna add two factor authentication using Google Authenticator and was wondering if google provides with java api's. I tried searching for it but din't find any. Can anyone point me to the java api if there are any. If not how can i go about using Google Authenticator in my web based java application. I am using Spring framework for my existing application

推荐答案

实际上,Google Authenticator与Google服务无关.您需要寻找的是TOTP.再次使用TOTP和rfc6238作为关键字进行研究,您会发现很多

In fact, Google Authenticator has nothing to do with Google services. What you need to look for is TOTP. Research again using TOTP and rfc6238 as keywords and you will find lots of resources.

这篇关于Google Authenticator的Java API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆