.
This commit is contained in:
parent
681141a8d8
commit
a1e543cfb8
12 changed files with 87 additions and 46 deletions
10
dist-require/autenticacao/index.d.ts
vendored
10
dist-require/autenticacao/index.d.ts
vendored
|
|
@ -1,4 +1,5 @@
|
|||
export type { tipoUsuarioExterno } from "./_consultaUsuariosexterno";
|
||||
import { type tipoUsuarioExterno } from "./_usuarios_quipo_governo";
|
||||
export type { tipoUsuarioExterno };
|
||||
/** todas as rotas de comunicação com autenticador partem dessa variável */
|
||||
export declare const pAutenticacao: {
|
||||
validarToken: ({ ambiente, post, buscar, }: {
|
||||
|
|
@ -20,8 +21,11 @@ export declare const pAutenticacao: {
|
|||
site: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<string>>;
|
||||
}) => Promise<import("p-respostas").tipoResposta<string>>;
|
||||
consultaUsuariosexterno: ({ token_produto, ambiente, }: {
|
||||
usuarios_quipo_governo: ({ token_produto, ambiente, buscar, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
token_produto: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<import("./_consultaUsuariosexterno").tipoUsuarioExterno[]>>;
|
||||
buscar: (url: string, headers: {
|
||||
[k: string]: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<tipoUsuarioExterno[]>>;
|
||||
}) => Promise<import("p-respostas").tipoResposta<tipoUsuarioExterno[]>>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue