define ResourceProvider
check token_type and expiration
add shortcuts
add testcases
version 0.1.1