ISFAuthorizationViewDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate methods for responding to authorization state changes in an SFAuthorizationView.
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, IsInformal=true, Name="SFAuthorizationViewDelegate", WrapperType=typeof(SecurityInterface.SFAuthorizationViewDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidAuthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidAuthorize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeauthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidDeauthorize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDeauthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, ReturnType=typeof(System.Boolean), Selector="authorizationViewShouldDeauthorize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CreatedAuthorization", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewCreatedAuthorization:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReleasedAuthorization", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewReleasedAuthorization:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidHide", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidHide:")]
public interface ISFAuthorizationViewDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, IsInformal=true, Name="SFAuthorizationViewDelegate", WrapperType=typeof(SecurityInterface.SFAuthorizationViewDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidAuthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidAuthorize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeauthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidDeauthorize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDeauthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, ReturnType=typeof(System.Boolean), Selector="authorizationViewShouldDeauthorize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CreatedAuthorization", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewCreatedAuthorization:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReleasedAuthorization", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewReleasedAuthorization:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidHide", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidHide:")>]
type ISFAuthorizationViewDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| CreatedAuthorization(SFAuthorizationView) |
Called when the authorization view has created an authorization reference. |
| DidAuthorize(SFAuthorizationView) |
Called when the authorization view has been authorized. |
| DidDeauthorize(SFAuthorizationView) |
Called when the authorization view has been deauthorized. |
| DidHide(SFAuthorizationView) |
Called when the authorization view has been hidden. |
| ReleasedAuthorization(SFAuthorizationView) |
Called when the authorization view has released its authorization reference. |
| ShouldDeauthorize(SFAuthorizationView) |
Called to determine whether the authorization view should deauthorize. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |