Skip to content

basalt / auth-saml/src / extractEmail

Function: extractEmail() ​

> extractEmail(profile, attribute?): string | undefined

Defined in: auth-saml/src/index.ts:412

Extracts the user's email from a validated assertion.

Parameters ​

profile ​

SamlProfile

attribute? ​

string

Returns ​

string | undefined

Released under the MIT License.