generate Password

open fun generatePassword(user: GliderUser, token: String, tail: String, scopes: String, length: Int, hResponse: JsonHelper): String

Method used to generate a password

Return

the generated password as String

Parameters

user

The user owner of the generated password

token

The token of the user

tail

The tail of the password

scopes

The scopes of the password

length

The length of the password

hResponse

The payload of the request

Throws

when an error occurred during the password generation