mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
269 B
TypeScript
13 lines
269 B
TypeScript
import openid = require('openid');
|
|
|
|
const relyingParty = new openid.RelyingParty(
|
|
'http://example.com/verify',
|
|
null,
|
|
false,
|
|
false,
|
|
[]);
|
|
|
|
relyingParty.authenticate('...', false, (err, authUrl) => {});
|
|
|
|
relyingParty.verifyAssertion('...', (err, result) => {});
|