Ejemplo n.º 1
0
        public override void Configure(IConfigSectionNode node)
        {
            base.Configure(node);

            var email = node.AttrByName(CONFIG_EMAIL_ATTR).Value;

            var credentials = new GoogleDriveCredentials(email);

            var authToken = new AuthenticationToken();

            User = new User(credentials, authToken, UserStatus.User, name: null, descr: null, rights: Rights.None);
        }
Ejemplo n.º 2
0
      public override void Configure(IConfigSectionNode node)
      {
        base.Configure(node);
        
        var email = node.AttrByName(CONFIG_EMAIL_ATTR).Value;
        
        var credentials = new GoogleDriveCredentials(email);

        var authToken = new AuthenticationToken();

        User = new User(credentials, authToken, UserStatus.User, name:null, descr:null, rights:Rights.None);
      }