#NEWLINE# def parse_token( token ) : #NEWLINE# #INDENT# decoded_token = base64 . b64decode ( token ) . split ( ':' ) #NEWLINE# username = decoded_token . pop ( 0 ) #NEWLINE# password = ':' . join ( decoded_token ) #NEWLINE# return ( username , password )