<!--
{
  "availability" : [
    "Sign in with Apple JS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SigninwithAppleJS",
  "identifier" : "/documentation/SigninwithAppleJS/AuthI",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Sign in with Apple JS"
    ],
    "preciseIdentifier" : "cl/AuthI"
  },
  "title" : "AuthI"
}
-->

# AuthI

The interface used to authenticate a user.

```
interface AuthI
```

## Topics

### Initializing the sign in process

[`void init(
	ClientConfigI config
);`](/documentation/SigninwithAppleJS/AuthI/init)

Initialize the authentication object with a configuration object.

[`Promise<SignInResponseI|SignInErrorI>|void signIn(
	optional ClientConfigI signInConfig
);`](/documentation/SigninwithAppleJS/AuthI/signIn)

Sign in using the configuration object.

### Rendering the button

[`void renderButton();`](/documentation/SigninwithAppleJS/AuthI/renderButton)

Renders the button contained in the wrapper tag.



---

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)