import type { RefedEntrypointHandler } from '@owlmeans/server-entrypoint'; /** * Authentication method links together OIDC and OwlMeans auth. * 1. We authenticate OIDC redirect back params with the classic OIDC client. * 2. We temporary store on the server refresh token and OIDC token. * 3. We supply the client with perked OwlMeans Auth token that in fact * is the set of OIDC tokens (except refresh token - we keep it here?) * 4. We used it in a centralized way to check permissions over OwlMeans Auth * central service irrespectively is it OIDC or our custom permissions engine * (this is useful to properly support paid accounts and bridge the underlying * IAM system implemetation - abstract from it). * 5. The method ends with production of OwlMeans authorization token. * * ! There is also token renewal mechanism that should be implemented nearby. */ export declare const authenticate: RefedEntrypointHandler; //# sourceMappingURL=process.d.ts.map