angular web api2 auth 用于Angular的基本Web API 2身份验证提供程序以简化集成
angular-web-api2-auth用于与WebAPI2令牌身份验证集成的Angular提供程序bower install angular-web-api2-auth用法//Register dependancy angular . module ( 'yourApp' , [ 'kennethlynne.webAPI2Authentication' ] ) angular . module ( 'yourApp' ) . config ( function ( webAPIAuthProvider ) { webAPIAuthProvider . setAPIUrl ( 'https://your-api.com' ) ; //Only requests to this endpoint will get the Authorization heade
下载地址
用户评论