Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
82 views

Nostr OAuth 2 authentication using Fastapi

I liked the idea of being able to authenticate using your own private key using Nostr protocol. The idea is based on events, so you prove your identity by signing an event. It's close to Wallet ...
uak's user avatar
  • 101
3 votes
1 answer
1k views

Login page using RxSwift in MVVM

I am building a simple login page which will check for username before navigating to another screen and here is how I am doing the binding now. I would like to know if I am doing it right and if I am ...
Samuel Kith's user avatar
2 votes
2 answers
1k views

PHP login/signup validation class

I am working on a blog with PHP, specially in order to practice OOP. Since the blogging system will handle users, i thought that a Validation class would be a good idea in order to not repeat code ...
ManuAlvarado22's user avatar
3 votes
1 answer
394 views

A User class for visitors to register and log in to a site

I'm just looking for some feedback on my User class. The class is designed to handle users being able to register, login, and logout of the site. I'll be using it in conjunction with a forum I'm also ...
accalton's user avatar
  • 131
5 votes
1 answer
3k views

Testable authentication handler for web API

I need to unit test my authentication handler. I don't really want do an assert against the text message returned by the handler. How could this be improved ? ...
ThunderDev's user avatar
3 votes
1 answer
1k views

Validating a model and focus to the element if validation fails

I am using Backbone Marionette - I would like to set the user name and password if that passes the model validation method. I am highly confused with that. Please show me a handy approach or correct ...
3gwebtrain's user avatar
5 votes
2 answers
844 views

Password strength checker

I would like to receive feedback about my code. Is there any better way to shorten the code or is it fine? Demo ...
Muhammed's user avatar
  • 303
3 votes
1 answer
313 views

Web service to add a phone number with SMS validation

I'm new to Clojure. How can I make this more idiomatic Clojure code? Among other things, there are three (do) blocks and I don't think using (def) as many times as I do is a recommended idea. ...
Kevin Burke's user avatar