腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
Angular
从
Auth0
observable
获取
名称
、
、
、
我想在登录后
从
Auth0
userProfile$中提取
名称
。所以我可以用它在我们的数据库中创建一个顾问。我不太熟悉
observable
和subscribe。我试着在下面的代码中使用它。当我在subscribe中登录时,我可以看到我想要添加到post请求中
名称
。但当我尝试使用它时,它只给了我一个空的订阅。dashboard.component.ts
从
‘@
angular
/ OnInit’导入{ Component,core}; <e
浏览 36
提问于2020-03-09
得票数 0
2
回答
角6中角jwt的模块名
我使用了npm安装
angular
2-jwt,但是这并不适用于角6,在/node_/
angular
2-jWT/
angular
2-jwt.js中获得了编译错误/node_/rxjs/可观“没有导出的成员‘可观察
浏览 0
提问于2018-07-18
得票数 1
1
回答
如何修复"Property‘’fix not exist on type 'typeof import“错误?
、
、
、
我将auth0-
angular
包下载到我的项目中,现在我在创建WebAuth()实例时收到以下错误: “类型为‘import("c:/Users/Owner/Desktop/coding_course_docs/AngularAudioPlayer/node_modules/@
auth0
/auth0-
angular
/auth0-auth0-
angular
")’‘的类型上不存在属性'WebAuth’” 下面
浏览 84
提问于2021-10-17
得票数 0
回答已采纳
1
回答
向
Angular
HttpInterceptor添加
Auth0
承载令牌
、
通过调用getAccessTokenSilently方法
获取
的承载token。方法是
Auth0
服务的一部分,如果没有本地缓存,它会对令牌的授权器进行http调用。: GetTokenSilentlyOptions):
Observable
<string>; 基本上,我的代码必须执行以下操作; import { AuthService } from '@
auth0
/auth0-
angular
'; @Injectable() expo
浏览 10
提问于2021-01-08
得票数 0
1
回答
如何
从
angular
中的httpInterceptor错误处理服务中
获取
组件
名称
?
、
我需要
获取
angular
ts文件中发生错误的确切组件
名称
、函数
名称
和行号,但我无法
从
httpInterceptor中
获取
它们。请帮助我
从
httpInterceptor
获取
以上内容。console.log(this.route.routeConfig.component.name); 我尝试过上面的方法,它给出了当前工作组件的组件
名称
,但我必须
从
httpInterceptor中
获取
组件
名称<
浏览 13
提问于2019-06-27
得票数 0
回答已采纳
2
回答
模块“节点_模块/@
auth0
/
angular
/index”‘没有导出成员'JwtHelper’
、
在AuthService类中,我无法导入:错误: ngif4/node_modules/@
auth0
/
angular
-jwt/index"' has no exported member 'Jw
浏览 3
提问于2018-01-29
得票数 0
1
回答
Auth0
用户信息方法返回仅具有子属性的用户对象
、
、
我正在为我的
angular
应用程序构建身份验证,并试图在有人登录时
从
auth0
获取
用户信息。我使用
auth0
文档作为指导,我得到了'user‘对象,但它只有一个子属性,没有name,email等。Object {sub: "
auth0
|5**********7"} 我尝试了facebook,linkedin,google登录,在没有社交媒体的情况下注册,但结果是一样的,只是“
auth0
|”部分发生了变化这是我的auth.service.ts
浏览 1
提问于2017-05-21
得票数 2
1
回答
找不到模块‘rxjs/内部/可观察’
、
、
、
我想在我的服务中使用JwtHelperService模块,但是我得到了以下错误: ERROR in node_modules/@
auth0
/
angular
-jwt/src/jwt.interceptor.d.ts(3,28): error TS2307: Cannot find module 'rxjs/internal/
Observable
'.import { JwtHelperService } from '@
auth0
/
浏览 1
提问于2018-08-04
得票数 2
回答已采纳
1
回答
VS代码找不到"get“的
名称
,在角度getter函数中,有什么办法解决吗?
、
、
、
、
我是一个致力于用户身份验证(IDE: VS代码)的新手(使用
auth0
作为身份验证服务)。_authFlag) || '{}'); VS代码告诉我,它找不到
名称
"get“和”身份验证“,我假设这会导致布尔值需要是类型而不是值的错误。对我做错了什么有什么想法吗?以下是完整的组件文件: //npm install --save @types/auth0-
浏览 2
提问于2021-10-17
得票数 0
回答已采纳
1
回答
Auth0
Laravel:验证令牌并
获取
用户信息
、
、
我有一个项目,它有一个客户端(
Angular
2)和一个API (Laravel 5.4)。我想使用Laravel作为API,但是我想让API受到来自
Auth0
的json令牌的保护。因此,每当我向Laravel (
从
Angular
)发出http请求时,我都会发送发出请求的用户的令牌。<?phpuse Illuminate\Http\Request; use <em
浏览 2
提问于2017-02-23
得票数 2
1
回答
Auth0
角7登录重定向循环
、
、
、
、
我正在使用
auth0
配置我的角7应用程序与auth。我按照快速启动指南,站起来跑步。(client.getTokenSilently(options))) }import { Injectable } from '@
angular
/core'; HttpRequest, HttpEvent,} from '@
angular
/common/http
浏览 0
提问于2020-05-28
得票数 2
回答已采纳
1
回答
如何在
auth0
中
从
访问令牌中
获取
jwt令牌
、
、
、
、
我正在使用application.and安全性开发
angular
2-nodejs-mongodb单页application.and。 邮递员:将要求发送到
auth0
以
获取
jwt_token邮递员:尝试访问我的nodejs应用程序实际上,我不知道如何将角访问令牌转换为
浏览 2
提问于2017-08-05
得票数 0
1
回答
无法在登录
Auth0
后找到如何
获取
访问令牌
、
、
、
、
我使用
Auth0
登录用户。当用户第一次登录时,我收到一个具有access_token和ID令牌的json响应。import createAuth0Client from '@
auth0
/auth0-spa-js'; importAuth0Client from '@
浏览 5
提问于2019-11-09
得票数 2
1
回答
Angular
中的模块问题
/node_modules/@
auth0
/
angular
-jwt/index.d.ts(1,47): error TS2307: TS2307: Cannot find mo
浏览 18
提问于2019-01-22
得票数 0
2
回答
组件在我使用authService登录后不会隐藏
、
我试图使登录和注册链接消失
从
导航栏时,一个人登录。我正在关注Youtube上的一个教程来解决这个问题,但是它没有起作用。Auth.service.ts看起来如下所示:import { map } from 'rxjs/operators';
浏览 1
提问于2019-03-28
得票数 0
回答已采纳
1
回答
在离子2中,“局部”的所有声明都必须有相同的修饰符。
、
、
、
这是我的服务import { Http } from '@
angular
/http';import {NavController} from "ionic-
angular
"; import { Storage } from '@ionic/
浏览 0
提问于2016-10-04
得票数 3
回答已采纳
1
回答
auth0
总是在浏览器刷新时显示登录对话框。
、
、
app.module.tsimport { NgModule } from '@
angular
/core';import { AppRoutes } from './core';
浏览 1
提问于2019-10-28
得票数 6
1
回答
解析userProfile$
observable
以
从
Auth0
身份验证中
获取
名称
和图片
、
、
、
我正在使用
Angular
构建一个平台,并使用
Auth0
提供身份验证。我使用了
Auth0
提供的演示代码将其实现到我的程序中。一切正常,但我想在他们登录后检索用户名和图片,以便我可以显示它。在
Auth0
网站上,我找到了这段我可以实现的代码。它可以工作,但是当我想调用一个特定的项目时,比如
名称
,它会用引号"来显示它。></pre>{ &qu
浏览 9
提问于2020-02-27
得票数 0
回答已采纳
1
回答
node_modules/@
auth0
/
angular
-jwt/lib/jwtoptions.token.d.ts(2,50):错误TS2304中的错误:找不到
名称
“未知”
、
、
、
、
node_modules/@
auth0
/
angular
-jwt/lib/jwtoptions.token.d.ts(2,50):ERROR TS2304中的错误:找不到
名称
“未知”。 "@
angular
/common": "6.1.10", "@
angular
/compiler"
浏览 5
提问于2020-08-13
得票数 3
1
回答
类型记录Firebase云存储。错误问题
、
、
、
、
我正在尝试
从
Firebase
获取
数据,以下是angularfire2库的de示例:import { AngularFirestore, AngularFirestoreDocument } from 'angularfire2/firestore'; import {
Observable
} from 'rxjs/
Observable
浏览 2
提问于2017-11-17
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
最受欢迎的10大Angular技巧
如何用 Angular 实现深色模式
彻底搞懂RxJS中的Subjects
Kotlin,RxJava与RxAndroid混合开发
使用 Angular 5.0和Spring Boot 2.0 构建一个基本的 CRUD 应用
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券