<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationAppleIDButton",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAuthorizationAppleIDButton"
  },
  "title" : "ASAuthorizationAppleIDButton"
}
-->

# ASAuthorizationAppleIDButton

A control you add to your interface that enables users to initiate the Sign In with Apple flow.

```
class ASAuthorizationAppleIDButton
```

## Overview

Choose one of the built-in button styles and types, and change the corner radius of the button by setting the [`cornerRadius`](/documentation/AuthenticationServices/ASAuthorizationAppleIDButton/cornerRadius) property, but don’t otherwise modify the style of the button. Don’t use an Apple ID authorization button for any purpose other than to initiate the Sign In with Apple flow.

After the user taps the button, create a request using the provider, and then use an instance of [`ASAuthorizationController`](/documentation/AuthenticationServices/ASAuthorizationController) to execute the request.

For more information about which Sign in with Apple buttons are available on different Apple platforms, see <doc://com.apple.documentation/documentation/signinwithapple/displaying-sign-in-with-apple-buttons-in-your-app>.

## Topics

### Initializers

[`init(authorizationButtonType:authorizationButtonStyle:)`](/documentation/AuthenticationServices/ASAuthorizationAppleIDButton/init(authorizationButtonType:authorizationButtonStyle:))

Creates a new Sign In with Apple authorization button with the given type and style.

[`init(type:style:)`](/documentation/AuthenticationServices/ASAuthorizationAppleIDButton/init(type:style:))

Creates a new Sign In with Apple authorization button with the given type and style.

### Styling the Button

[`cornerRadius`](/documentation/AuthenticationServices/ASAuthorizationAppleIDButton/cornerRadius)

The radius, in points, for the rounded corners on the Apple ID sign-in button.

[`ASAuthorizationAppleIDButton.Style`](/documentation/AuthenticationServices/ASAuthorizationAppleIDButton/Style)

A style for the authorization button.

[`ASAuthorizationAppleIDButton.ButtonType`](/documentation/AuthenticationServices/ASAuthorizationAppleIDButton/ButtonType)

A type for the authorization button.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)