this repo has no description
1import { JwtHeader } from '@atproto/oauth-client' 2import type { StyleProp, ViewStyle } from 'react-native' 3 4export type JWK = { 5 kty: string 6 use: 'sig' | 'enc' | undefined 7 crv: 'P-256' 8 kid: string 9 x: string 10 y: string 11 d: string | undefined 12 alg: string 13} 14 15export type VerifyOptions = { 16 audience?: string 17 clockTolerance?: number 18 issuer?: string 19 maxTokenAge?: number 20 subject?: string 21 typ?: string 22 currentDate?: Date 23 requiredClaims?: string[] 24} 25 26export type VerifyResponse = { 27 payload: string 28 protectedHeader: JwtHeader 29} 30 31export type OnLoadEventPayload = { 32 url: string 33} 34 35export type ExpoAtprotoAuthModuleEvents = { 36 onChange: (params: ChangeEventPayload) => void 37} 38 39export type ChangeEventPayload = { 40 value: string 41} 42 43export type ExpoAtprotoAuthViewProps = { 44 url: string 45 onLoad: (event: { nativeEvent: OnLoadEventPayload }) => void 46 style?: StyleProp<ViewStyle> 47}