语言

ISFAuthorizationViewDelegate.ShouldDeauthorize(SFAuthorizationView) 方法

定义

调用以确定授权视图是否应取消授权。

[Foundation.Export("authorizationViewShouldDeauthorize:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldDeauthorize(SecurityInterface.SFAuthorizationView view);
[<Foundation.Export("authorizationViewShouldDeauthorize:")>]
[<Foundation.OptionalMember>]
[<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.

特性

适用于