net9.0-macos14.2
namespace AuthenticationServices
{
    [Protocol(Name = "ASAuthorizationProviderExtensionRegistrationHandler", WrapperType = typeof(ASAuthorizationProviderExtensionRegistrationHandlerWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RegistrationDidComplete", Selector = "registrationDidComplete")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RegistrationDidCancel", Selector = "registrationDidCancel")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "BeginDeviceRegistration", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V26) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(ASAuthorizationProviderExtensionLoginManager), typeof(ASAuthorizationProviderExtensionRequestOptions), typeof(Action<ASAuthorizationProviderExtensionRegistrationResult>) }, Selector = "beginDeviceRegistrationUsingLoginManager:options:completion:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "BeginUserRegistration", ParameterBlockProxy = new[] { null, null, null, null, typeof(NIDActionArity1V26) }, ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(ASAuthorizationProviderExtensionLoginManager), typeof(string), typeof(ASAuthorizationProviderExtensionAuthenticationMethod), typeof(ASAuthorizationProviderExtensionRequestOptions), typeof(Action<ASAuthorizationProviderExtensionRegistrationResult>) }, Selector = "beginUserRegistrationUsingLoginManager:userName:authenticationMethod:options:completion:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "supportedGrantTypes", IsProperty = true, IsRequired = false, IsStatic = false, Name = "SupportedGrantTypes", PropertyType = typeof(ASAuthorizationProviderExtensionSupportedGrantTypes), Selector = "supportedGrantTypes")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "protocolVersion", IsProperty = true, IsRequired = false, IsStatic = false, Name = "ProtocolVersion", PropertyType = typeof(ASAuthorizationProviderExtensionPlatformSSOProtocolVersion), Selector = "protocolVersion")]
    [SupportedOSPlatform("macos13.0")]
    [UnsupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface IASAuthorizationProviderExtensionRegistrationHandler : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("beginUserRegistrationUsingLoginManager:userName:authenticationMethod:options:completion:")]
        [Preserve(Conditional = true)]
        void BeginUserRegistration(ASAuthorizationProviderExtensionLoginManager! loginManager, string? userName, ASAuthorizationProviderExtensionAuthenticationMethod authenticationMethod, ASAuthorizationProviderExtensionRequestOptions options, [BlockProxy(typeof(NIDActionArity1V26))] Action<ASAuthorizationProviderExtensionRegistrationResult>! handler);
    }
}
.NET 8.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS
  • Mac Catalyst
  • macOS >= 13
  • tvOS
  • Built-in API
  • Package-provided API

11/10/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙