Added skeleton API for authorization.