# EveryLinkOptions

`interface` in `plugin-oauth` · v0.1.0

<https://seedcord.org/docs/packages/plugin-oauth/0.1.0/interfaces/every-link-options>

```ts
interface EveryLinkOptions<TExtra extends OAuthScope>
```

## Properties

### codeChallenge

```ts
codeChallenge?: string | undefined
```

The SHA-256 PKCE challenge, base64url encoded. Pass its verifier to `exchange()`. Discord answers
`invalid_scope` to a challenge that comes with the `role_connections.write` scope.

### scopes

```ts
scopes?: readonly TExtra[] | undefined
```

The `extraScopes` this link also requests.

### state

```ts
state: string;
```

A random value that you tie to the visitor's browser and compare when Discord sends it back.
