added a new method for authorization. New method use ASWebAuthenticationSession instead of SFSafariViewController.
When using a smaller access scope, an error occurs in the request to get user information. I use auth/userinfo.email, instead of auth/userinfo.profile.
Implemented feature to customize fields for the contentsOfDirectory method.
SFSafariViewController
.auth/userinfo.email
, instead ofauth/userinfo.profile
.contentsOfDirectory
method.