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
實作
- 屬性