#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# user_folder = os . path . expanduser ( '~' ) #NEWLINE# server_config = migrate_and_get_server_config ( user_folder ) #NEWLINE# authorizer = BasicAuthorizer ( server_config . read_permissions , server_config . write_permissions ) #NEWLINE# authenticator = BasicAuthenticator ( dict ( server_config . users ) ) #NEWLINE# credentials_manager = JWTCredentialsManager ( server_config . jwt_secret , server_config . jwt_expire_time ) #NEWLINE# updown_auth_manager = JWTUpDownAuthManager ( server_config . updown_secret , server_config . authorize_timeout ) #NEWLINE# file_manager = get_file_manager ( server_config , updown_auth_manager = updown_auth_manager ) #NEWLINE# self . ra = ConanServer ( server_config . port , user_folder . ssl_enabled , credentials_manager , updown_auth_manager , authorizer , authenticator , file_manager , Version ( SERVER_VERSION ) , Version ( MIN_CLIENT_COMPATIBLE_VERSION ) )