AliyunSAF class
Constructors
- AliyunSAF()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canonicalize(
Map< String, String> _params) → String -
getDateString(
DateTime now) → String -
getParams(
Map< String, String> serviceParameters, DateTime now) → Map<String, String> - 公共参数构建 https://help.aliyun.com/document_detail/70058.html
-
getServiceParameters(
String session, String mobile, DateTime now) → Map< String, String> - 登录风险识别业务参数 https://help.aliyun.com/document_detail/90966.html
-
getSession(
) → Future< String> - 获取 Session (deviceToken) https://help.aliyun.com/document_detail/90998.html#title-ao5-ca9-n10
-
init(
String appKey, String accessKeyId, String accessKeySecret) → Future< void> - 初始化方法,传入对应的 key 和 secret。 https://help.aliyun.com/document_detail/90998.html#title-jfj-1c5-iau
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
String mobile) → Future< SAFResponse?> - 请求风险识别
-
toString(
) → String -
A string representation of this object.
inherited
-
updateIP(
) → Future< void> - 获取 ip
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited