```python!
class AuthEngine():
"""
Core Auth Engine which will help us to wrap all the authentication under hood and do common stuff to all auth.
"""
auth_class_dict = {
"aws": AWSAuth,
"firebase": FireBaseAuth
}
def __init__(auth_type, **kwargs):
self.select_auth_class(*args, **kwargs)
def select_auth_class(self, auth_type, **kwargs):
return self.auth_class_dict[auth_type](**kwargs)
class AwsAuth():
"""
Can be used to do whatever special power AWS has.
"""
def __init__(**kwargs):
self.validate_auth(**kwargs)
def validate_auth():
"""
Check and validate with if indeed aws is called with aws related configs if required or custom jwt module
"""
pass
def parse_headers(self, kwargs):
"""
parse headers and get the auth data
"""
pass
def check_source_truth(self):
"""
Check the data with any source of truth liek DB cache etc.
"""
pass
```