Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Referencia de funciones de bloqueo
En esta página, se describen las interfaces AdditionalUserInfo y AuthCredential que están disponibles cuando se usan las funciones de bloqueo de Identity Platform.
AdditionalUserInfo
interfaceAdditionalUserInfo{// The provider ID, such as saml.provider, oidc.provider, google.com,// facebook.com, etc.providerId:string;// Raw user info. This is the raw user info also returned in client SDK.profile?:any;// This is the Twitter screen_name.username?:string;// Whether the user is new or existing.// This is true for beforeCreate, false for others.isNewUser:boolean;}
interfaceAuthCredential{// All user SAML or OIDC claims. These are in plain object format but should// be verified and parsed from SAML response, IdP ID token, etc.// This is empty for all other providers.claims?:{[key:string]:any};// Optional OAuth ID token if available and enabled in the project config.idToken?:string;// Optional OAuth access token if available and enabled in the project config.accessToken?:string;// Optional OAuth refresh token if available and enabled in the project config.refreshToken?:string;// Optional OAuth expiration if available and enabled in the project config.expirationTime?:string;// Optional OAuth token secret if available and enabled in the project config.secret?:string;// eg. saml.provider, oidc.provider, google.com, facebook.com, etc.providerId:string;}
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-04-09 (UTC)"],[[["This page provides information on the `AdditionalUserInfo` and `AuthCredential` interfaces used with Identity Platform blocking functions."],["The `AdditionalUserInfo` interface includes details like the provider ID, raw user profile, username, and whether the user is new."],["The `AuthCredential` interface contains user claims, optional OAuth tokens, and the provider ID."],["The `AuthCredential` interface provides various credentials like OAuth ID, access, refresh tokens, and their expiration time if they are available."],["More information on supported OAuth credentials and data is available via the provided link."]]],[]]