DingTalkAuthParam class
钉钉登录认证参数
Constructors
- DingTalkAuthParam({required String appId, required String redirectUrl, String state = '', String nonce = '', DingTalkAuthScope scope = DingTalkAuthScope.openid, String prompt = 'consent'})
-
const
Properties
- altSignature → String
-
final
- appId → String
-
钉钉开放平台应用标识。
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nonce → String
-
字段值任意填写,授权登录后原样返回。
final
- prompt → String
-
固定值为consent,会进入授权确认页。
final
- redirectUrl → String
-
创建应用时填写的回调域名,仅用于校验域名是否一致,不会跳转。
final
- responseType → String
-
当前只支持固定值code,授权通过后返回authCode。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → DingTalkAuthScope
-
应用授权作用域。授权页面显示的授权信息以应用注册时配置的为准
final
- state → String
-
用于保持请求和回调的状态,授权请求后原样带回给第三方。
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, String> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited