SFAuthorizationViewDelegate.ShouldDeauthorize(SFAuthorizationView) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
调用以确定授权视图是否应取消授权。
[Foundation.Export("authorizationViewShouldDeauthorize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldDeauthorize(SecurityInterface.SFAuthorizationView view);
[<Foundation.Export("authorizationViewShouldDeauthorize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldDeauthorize : SecurityInterface.SFAuthorizationView -> bool
override this.ShouldDeauthorize : SecurityInterface.SFAuthorizationView -> bool
参数
- view
- SFAuthorizationView
SFAuthorizationView请求取消授权。
返回
true 允许取消授权;否则,为 false.
实现
- 特性