AuthState

AuthState struct

Members

Variables

login
bool login;

login - bool

passwordRequired
bool passwordRequired;

passwordRequired - bool

signup
bool signup;

signuo - bool

success
bool success;

success - bool

valid
bool valid;

valid - bool

Examples

auto state = AuthState();
assert(is(typeof(state) == AuthState));
assert(is(typeof(state.signup) == bool));
assert(is(typeof(state.passwordRequired) == bool));
assert(is(typeof(state.success) == bool));
assert(is(typeof(state.login) == bool));
assert(is(typeof(state.valid) == bool));
assert(state.signup == false);
assert(state.passwordRequired == false);
assert(state.success == false);
assert(state.login == false);
assert(state.valid == false);

Meta