> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AuthClient

> Swift Protocol

**Protocol**

```swift theme={null}
protocol AuthClient : Sendable
```

## Instance Methods

### logout()

```swift theme={null}
func logout() async
```

### sendOTP(to:)

```swift theme={null}
func sendOTP(to email: String) async throws(AuthError) -> OTPRequest
```

### verifyOTP(code:requestId:)

```swift theme={null}
func verifyOTP(code: String, requestId: String) async throws(AuthError) -> AuthSession
```
