Subversion Repositories oidplus

Rev

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

Rev 1297 Rev 1305
Line 114... Line 114...
114
                                $gen = OIDplusAuthContentStoreJWT::JWT_GENERATOR_REST;
114
                                $gen = OIDplusAuthContentStoreJWT::JWT_GENERATOR_REST;
115
                                $sub = $ra_email;
115
                                $sub = $ra_email;
116
 
116
 
117
                                $authSimulation = new OIDplusAuthContentStoreJWT();
117
                                $authSimulation = new OIDplusAuthContentStoreJWT();
118
                                $authSimulation->raLogin($ra_email);
118
                                $authSimulation->raLogin($ra_email);
119
                                $authSimulation->setValue('oidplus_generator', $gen);
119
                                $authSimulation->setValue(OIDplusAuthContentStoreJWT::CLAIM_GENERATOR, $gen);
120
                                $token = $authSimulation->getJWTToken();
120
                                $token = $authSimulation->getJWTToken();
121
 
121
 
122
                                $out['text'] .= '<p>'._L('You can make automated calls to your OIDplus account by calling an REST API.').'</p>';
122
                                $out['text'] .= '<p>'._L('You can make automated calls to your OIDplus account by calling an REST API.').'</p>';
123
                                $out['text'] .= '<h2>'._L('Endpoints').'</h2>';
123
                                $out['text'] .= '<h2>'._L('Endpoints').'</h2>';
124
                                $endpoints = '';
124
                                $endpoints = '';