mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
@@ -10,7 +10,7 @@ if (sso.validate('payload', 'sig')) {
|
||||
email: 'omg@mail.com',
|
||||
username: 'myuser',
|
||||
name: 'This Guy'
|
||||
}
|
||||
};
|
||||
|
||||
const loginString: string = sso.buildLoginString(userParams);
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -11,7 +11,7 @@ declare class DiscourseSSO {
|
||||
}
|
||||
|
||||
declare namespace DiscourseSSO {
|
||||
export interface UserParams {
|
||||
interface UserParams {
|
||||
nonce: string;
|
||||
external_id: string;
|
||||
email: string;
|
||||
@@ -24,4 +24,4 @@ declare namespace DiscourseSSO {
|
||||
remove_groups?: string[];
|
||||
}
|
||||
}
|
||||
export = DiscourseSSO;
|
||||
export = DiscourseSSO;
|
||||
|
||||
Reference in New Issue
Block a user