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

# AuthService

> Swift Protocol

**Protocol**

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

## Instance Methods

### logout(\_:)

```swift theme={null}
func logout(_ logoutRequest: LogoutRequest) async throws(AuthError)
```

### refreshJWT(\_:)

```swift theme={null}
func refreshJWT(_ refreshJWTRequest: RefreshJWTRequest) async throws(AuthError) -> RefreshJWTResponse
```

### validateEmail(\_:)

```swift theme={null}
func validateEmail(_ validateEmailRequest: ValidateEmailRequest) async throws(AuthError) -> ValidateEmailResponse
```

### validateToken(\_:)

```swift theme={null}
func validateToken(_ validateTokenRequest: ValidateTokenRequest) async throws(AuthError) -> ValidateTokenResponse
```
