Yiipii (pronounced yip·pee) is a generic CController class for Yii that provides basic key->token authentication schemes which can be modified or extended to provide a API endpoint for a webapp or native application.