Addon seams
Each seam has a default in lib/addon/ and is resolved through the override registry every time it is called, so an override registered at bootstrap takes effect regardless of module load order.
import { addons } from 'oauth-server-ts/lib/addon/index.js';
addons.override({ findAccount: async (oidc, id) => myDirectory.lookup(id)});assertJwtClientAuthClaimsAndHeaderloadExistingGrantfindAccountexpiresWithSessionissueRefreshTokenpairwiseIdentifierrotateRefreshTokenidFactorysecretFactorydefaultResourceuseGrantedResourcegetResourceServerInfosectorIdentifierUriValidateassertClaimsParameterassertJwtClaimsAndHeaderdeviceInfointeractionPolicyintrospectionAllowedPolicygetCertificatecertificateAuthorizedcertificateSubjectMatchestriggerAuthenticationDevicevalidateBindingMessagevalidateRequestContextprocessLoginHintTokenprocessLoginHintverifyUserCoderarForAuthorizationCoderarForCodeResponserarForRefreshTokenResponserarForIntrospectionResponse