def get_rc_creds():
config = get_config()<EOL>try:<EOL><INDENT>return (<EOL>config.get(CFG_SECTION_OAUTH, CFG_OPTION_ENDPOINT),<EOL>config.get(CFG_SECTION_OAUTH, CFG_OPTION_REF_TOKEN),<EOL>)<EOL><DEDENT>except:<EOL><INDENT>return ('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>
Reads ~/.rightscalerc and returns API endpoint and refresh token.

Always returns a tuple of strings even if the file is empty - in which
case, returns ``('', '')``.