diff --git a/types/passport-saml/index.d.ts b/types/passport-saml/index.d.ts index f7811bbec7..43cec4c61e 100644 --- a/types/passport-saml/index.d.ts +++ b/types/passport-saml/index.d.ts @@ -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 };