The function reset_password()
generates a link that allows you to reset your password.
Example -
host = 'host_address'
username = 'username'
password = 'password'
hyperspace_lient = hyperspace.HyperspaceClientApi(host=host,
username=username, password=password)
ticket = hyperspaceClient.resetPassword()
print(ticket)
String host = 'host_address';
String username = 'username';
String password = 'password';
HyperspaceClient hyperspaceClient = hyperspace.HyperspaceClientApi(host=host,
username=username,
password=password);
Object{ data: ticket } = await hyperspaceClient.resetPassword();
System.out.println(ticket);
const host = 'host_address';
const username = 'username';
const password = 'password';
let hyperspaceClient = hyperspace.HyperspaceClientApi(host=host,
username=username,
password=password);
const { data: ticket } = await hyperspaceClient.resetPassword();
console.log(ticket);
The output will be of the form
{ "ticket": "https://auth.com/reset?ticket=xxxx#" }
Last updated