sttp-oauth2:使用sttp在Scala中实现的OAuth2客户端库

时间:2021-04-05 07:40:32
【文件属性】:
文件名称:sttp-oauth2:使用sttp在Scala中实现的OAuth2客户端库
文件大小:54KB
文件格式:ZIP
更新时间:2021-04-05 07:40:32
oauth2 scala sttp cats-effect Scala sttp-oauth2-Scala的OAuth2客户端库 该库旨在使用客户端与基于OAuth2提供程序轻松集成。 它使用进行JSON序列化/反序列化。 当前,它支持用于获取授权的方法(授权类型): 用法 sttp-oauth2 每个授予都在具有方法的显式返回和错误类型以及TaglessFinal友好*Provider接口的对象中实现。 AuthorizationCode和AuthorizationCodeProvider提供以下功能: 生成登录和注销重定向链接, authCodeToToken用于将授权代码转换为令牌, refreshAccessToken用于执行令牌刷新请求 PasswordGrant和PasswordGrantProvider ,能够执行requestToken将用户登录名和密码转换为oauth2令牌 ClientCredentials和ClientCred
【文件预览】:
sttp-oauth2-main
----.gitignore(81B)
----oauth2()
--------src()
----project()
--------plugins.sbt(252B)
--------build.properties(18B)
----LICENSE(11KB)
----.mergify.yml(252B)
----.github()
--------workflows()
----README.md(3KB)
----oauth2-backend-common()
--------src()
----oauth2-backend-cats()
--------src()
----oauth2-backend-future()
--------src()
----.scalafmt.conf(859B)
----build.sbt(4KB)

网友评论