> ## 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.

# DefaultAuthClient

> Swift Class

**Class**

```swift theme={null}
actor DefaultAuthClient
```

## Instance Methods

### logout()

Inherited from `AuthClient.logout()`.

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

### sendOTP(to:)

Inherited from `AuthClient.sendOTP(to:)`.

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

### verifyOTP(code:requestId:)

Inherited from `AuthClient.verifyOTP(code:requestId:)`.

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