Sample: OAuth2

The helper is a library for Java and Android.

License

License

Categories

Categories

H2 Data Databases OAuth2 Security
GroupId

GroupId

com.github.mrzhqiang.helper.sample
ArtifactId

ArtifactId

oauth2
Last Version

Last Version

1.0-beta
Release Date

Release Date

Type

Type

jar
Description

Description

Sample: OAuth2
The helper is a library for Java and Android.

Download oauth2

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.mrzhqiang.helper.sample/oauth2/ -->
<dependency>
    <groupId>com.github.mrzhqiang.helper.sample</groupId>
    <artifactId>oauth2</artifactId>
    <version>1.0-beta</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.mrzhqiang.helper.sample/oauth2/
implementation 'com.github.mrzhqiang.helper.sample:oauth2:1.0-beta'
// https://jarcasting.com/artifacts/com.github.mrzhqiang.helper.sample/oauth2/
implementation ("com.github.mrzhqiang.helper.sample:oauth2:1.0-beta")
'com.github.mrzhqiang.helper.sample:oauth2:jar:1.0-beta'
<dependency org="com.github.mrzhqiang.helper.sample" name="oauth2" rev="1.0-beta">
  <artifact name="oauth2" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.mrzhqiang.helper.sample', module='oauth2', version='1.0-beta')
)
libraryDependencies += "com.github.mrzhqiang.helper.sample" % "oauth2" % "1.0-beta"
[com.github.mrzhqiang.helper.sample/oauth2 "1.0-beta"]

Dependencies

compile (1)

Group / Artifact Type Version
com.github.mrzhqiang.helper : helper jar 1.0-beta

Project Modules

There are no modules declared in this project.

helper

Release

Java API 总让人陷入选择困难,即便老手也会在浩瀚如海的 JavaDoc 中迷失自我,更不用说那些新手们。

一个活生生的例子就是,java.util.Date 类对时间格式化非常不友好,并且由于它并非 final ——不可变类,所以总导致一些莫名其妙的问题,比如多线程格式化异常,另外还有很多设计上的缺陷,例如日期时间混合问题、时区问题、国际化问题,这些缺陷在 《Effective Java》 中也有提及。

为了避免这一类问题,节省编写模板代码的时间,helper 库由此诞生。

简介

  • helper:JVM 辅助工具,项目依赖包含 Guava 库(谷歌开源的辅助工具),Config 库(类型安全的配置文件工具)。
  • helper-dependencies:项目依赖模块,包含本项目所有模块的依赖,懒人必备。
  • helper-parent:顶级模块,其他模块都挂在这里。
  • helper-javafx:JavaFX 辅助工具,利用 RxJavaFx 库实现 MVVM 架构更方便。
  • helper-data:提供数据相关辅助工具,使用 Guice 依赖注入实例。
    • helper-data-api:定义基本的数据接口,比如 RepositoryPageable 等。
    • helper-data-redis:简化 Jedis 的使用。
    • helper-data-ebean:简化 EBean 的使用(主要基于 MySQL 数据库)。
    • helper-data-cassandra:简化 Cassandra-driver-core 的使用。
    • helper-data-elasticsearch:简化 Elastic Search 客户端 rest 的使用。
  • helper-sample:各个模块的功能样例。

使用

  1. 访问 jitpack.io,添加本仓库的 URL 以获取依赖。
  2. 参考 helper-sample 模块,获取更详细的使用方法。

计划

样例

更丰富的使用场景演示。

工具库

  • 【文档处理模块】Excel 表格、Word 文档、PDF 文档:简历、报表、文件
  • 【支付集成】:支付宝、微信、第三方及第四方支付
  • 【IM 集成】:xmpp 协议、腾讯云 IM、极光推送 IM
  • 【短信集成】:暴风短信、阿里云短信、腾讯云短信、网易云短信、华为云短信、极光短信、第三方短信
  • 【直播集成】:三体云语音视频聊天、极光语音视频聊天、腾讯云视频直播
  • 【视频点播】:腾讯云短视频、OSS 对象存储付费功能

鸣谢

JetBrains Logo

Licenses

   Copyright 2021 mrzhqiang

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Versions

Version
1.0-beta