[READ-ONLY] a fast, modern browser for the npm registry
at main 14 lines 474 B view raw
1import { object, string, pipe, url, array, minLength, boolean } from 'valibot' 2 3export const OAuthMetadataSchema = object({ 4 client_id: pipe(string(), url()), 5 client_name: string(), 6 client_uri: pipe(string(), url()), 7 redirect_uris: pipe(array(string()), minLength(1)), 8 scope: string(), 9 grant_types: array(string()), 10 application_type: string(), 11 token_endpoint_auth_method: string(), 12 dpop_bound_access_tokens: boolean(), 13 response_types: array(string()), 14})