Subversion Repositories oidplus

Rev

Rev 1303 | Rev 1305 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1303 Rev 1304
Line 70... Line 70...
70
        /**
70
        /**
71
         * @return OIDplusAuthContentStore|null
71
         * @return OIDplusAuthContentStore|null
72
         * @throws OIDplusException
72
         * @throws OIDplusException
73
         */
73
         */
74
        protected function getAuthContentStore()/*: ?OIDplusAuthContentStore*/ {
74
        protected function getAuthContentStore()/*: ?OIDplusAuthContentStore*/ {
75
                // TODO: Should we implement these AuthContentStore as plugin type, so that there can be more than just JWT and PHP session?
-
 
76
 
-
 
77
                // Logged in via JWT
75
                // Logged in via JWT
78
                // (The JWT can come from a REST Authentication Bearer, an AJAX Cookie, or an Automated AJAX Call GET/POST token.)
76
                // (The JWT can come from a REST Authentication Bearer, an AJAX Cookie, or an Automated AJAX Call GET/POST token.)
79
                $tmp = OIDplusAuthContentStoreJWT::getActiveProvider();
77
                $tmp = OIDplusAuthContentStoreJWT::getActiveProvider();
80
                if ($tmp) return $tmp;
78
                if ($tmp) return $tmp;
81
 
79