Пример #1
0
        public SymOBOUserAuth getUserAuth(long uid)
        {
            SymOBOUserAuth userAuth = new SymOBOUserAuth(symConfig,
                                                         uid, this);

            userAuth.authenticate();
            return(userAuth);
        }
Пример #2
0
        public SymOBOUserAuth getUserAuth(String username)
        {
            SymOBOUserAuth userAuth = new SymOBOUserAuth(symConfig, username, this);

            userAuth.authenticate();
            authTokens.sessionToken = userAuth.getSessionToken();
            sessionToken            = userAuth.getSessionToken();
            return(userAuth);
        }