mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-10 10:52:44 +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) => {});
|