# Interface: ServerMetadataHelpers

[💗 Help the project](https://github.com/sponsors/panva)

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by [becoming a sponsor](https://github.com/sponsors/panva).

***

Helpers for querying authorization server capabilities.

## Methods

### supportsPKCE()

▸ **supportsPKCE**(`method?`): `boolean`

Determines whether the Authorization Server supports a given Code Challenge
Method

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `method?` | `string` | Code Challenge Method. Default is `S256` |

#### Returns

`boolean`
