Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/services/UserService.ts>UserService.login

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method UserService.login
import { UserService } from "https://deno.land/x/windmill@v1.346.1/windmill-api/services/UserService.ts";

login with password

Parameters

unnamed 0: { requestBody: Login; }

Returns

string Successfully authenticated. The session ID is returned in a cookie named token and as plaintext response. Preferred method of authorization is through the bearer token. The cookie is only for browser convenience.