diff --git a/src/invidious/routes/api/v1/authentication.cr b/src/invidious/routes/api/v1/authentication.cr index 5f16e284..b1fb591e 100644 --- a/src/invidious/routes/api/v1/authentication.cr +++ b/src/invidious/routes/api/v1/authentication.cr @@ -250,7 +250,18 @@ struct CaptchaResponse property username : String property password : String property answer : String - property tokens : Array(String) + property tokens : Array(CaptchaToken) +end + +struct CaptchaToken + include JSON::Serializable + include YAML::Serializable + + property session : String + property expire : Int64 + property scopes : Array(String) + property nonce : String + property signature : String end struct Credentials