Remove unneeded method.
Get API resources before checking for valid identity.