# Functions
No description provided by the author
New 声明 OAuth 对象
r 表示注册用户的方法,如果为 nil,那么碰到为未注册的用户时,[OAuth.Valid] 直接返回 false, 否则的话将尝试注册了新用户并返回新用户的 id。 prefix 表名前缀,当有多个不同实例时,prefix 不能相同。.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Interfaces
UserInfo 表示 OAuth 登录后获取的用户信息.
# Type aliases
GetUserInfoFunc 获取用户信息的方法
OAuth 并未规定返回的用户信息字段,该方法只能由用户根据平台自行实现。.