mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[passport-saml] Add missing config options (#39224)
This commit is contained in:
parent
2413e7242f
commit
60c7387672
31
types/passport-saml/index.d.ts
vendored
31
types/passport-saml/index.d.ts
vendored
@ -60,6 +60,11 @@ export interface SamlConfig {
|
||||
forceAuthn?: boolean;
|
||||
skipRequestCompression?: boolean;
|
||||
authnRequestBinding?: string;
|
||||
RACComparison?: 'exact' | 'minimum' | 'maximum' | 'better';
|
||||
providerName?: string;
|
||||
passive?: boolean;
|
||||
idpIssuer?: string;
|
||||
audience?: string;
|
||||
|
||||
// InResponseTo Validation
|
||||
validateInResponseTo?: boolean;
|
||||
@ -85,18 +90,18 @@ export interface AuthorizeOptions extends AuthenticateOptions {
|
||||
}
|
||||
|
||||
export type Profile = {
|
||||
issuer?: string;
|
||||
sessionIndex?: string;
|
||||
nameID?: string;
|
||||
nameIDFormat?: string;
|
||||
nameQualifier?: string;
|
||||
spNameQualifier?: string;
|
||||
ID?: string;
|
||||
mail?: string; // InCommon Attribute urn:oid:0.9.2342.19200300.100.1.3
|
||||
email?: string; // `mail` if not present in the assertion
|
||||
getAssertionXml(): string; // get the raw assertion XML
|
||||
getAssertion(): object; // get the assertion XML parsed as a JavaScript object
|
||||
getSamlResponseXml(): string; // get the raw SAML response XML
|
||||
issuer?: string;
|
||||
sessionIndex?: string;
|
||||
nameID?: string;
|
||||
nameIDFormat?: string;
|
||||
nameQualifier?: string;
|
||||
spNameQualifier?: string;
|
||||
ID?: string;
|
||||
mail?: string; // InCommon Attribute urn:oid:0.9.2342.19200300.100.1.3
|
||||
email?: string; // `mail` if not present in the assertion
|
||||
getAssertionXml(): string; // get the raw assertion XML
|
||||
getAssertion(): object; // get the assertion XML parsed as a JavaScript object
|
||||
getSamlResponseXml(): string; // get the raw SAML response XML
|
||||
} & {
|
||||
[attributeName: string]: unknown; // arbitrary `AttributeValue`s
|
||||
[attributeName: string]: unknown; // arbitrary `AttributeValue`s
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user