INNER CODE UNIT · Python
config
IndominusByte/fastapi-jwt-auth · fastapi_jwt_auth/auth_config.py:58
config = LoadConfig(**{key.lower():value for key,value in settings()})
cls._token_location = config.authjwt_token_location
cls._secret_key = config.authjwt_secret_key
cls._public_key = config.authjwt_public_key
cls._private_key = config.authjwt_private_key
cls._algorithm = config.authjwt_algorithm
cls._decode_algorithms = config.authjwt_decode_algorithms
cls._decode_leeway = config.authjwt_decode_leeway
cls._encode_issuer = config.authjwt_encode_issuer
cls._decode_issuer = config.authjwt_decode_issuer
cls._decode_audience = config.authjwt_decode_audience
cls._denylist_enabled = config.authjwt_denylist_enabled
cls._denylist_token_checks = config.authjwt_denylist_token_checks
cls._header_name = config.authjwt_header_name
cls._header_type = config.authjwt_header_type
cls._access_token_expires = config.authjwt_access_token_expires
cls._refresh_token_expires = config.authjwt_refresh_token_expires