File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > VSTS Autentication ADAL.JS Sample</ title >
4
+ < title > Azure DevOps Autentication ADAL.JS Sample</ title >
5
5
< meta charset ="utf-8 " />
6
6
< style type ="text/css "> body { font-family : Tahoma; padding : 3em ; } </ style >
7
7
< script src ="https://secure.aadcdn.microsoftonline-p.com/lib/1.0.11/js/adal.min.js "> </ script >
8
8
</ head >
9
9
< body >
10
10
< p >
11
- VSTS Authentication - ADAL.JS Sample
11
+ Azure DevOps Authentication - ADAL.JS Sample
12
12
</ p >
13
13
< p >
14
14
< a href ="# " onclick ="loginButtonPress(); ">
26
26
var clientId = 'xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' ; //Update with your app registration's Application ID (step 2.6)
27
27
var replyUri = 'http://localhost:8081' ; //Where you will receive the token. (step 2.5)
28
28
var logoutRedirectUri = 'http://localhost:8081' ; //Where you return upon signout. Update if you are hosting your webpage somewhere else
29
- var vstsApi = 'https://myaccount.visualstudio .com/_apis/projects?api-version=2.0' ; //Update if want to access a different vsts API
30
- var vstsResourceId = '499b84ac-1321-427f-aa17-267ca6975798' ; //Do not change. Needed to get a VSTS ADAL access token.
29
+ var azDevApi = 'https://dev.azure .com/myaccount /_apis/projects?api-version=2.0' ; //Update if want to access a different vsts API
30
+ var azDevApId = '499b84ac-1321-427f-aa17-267ca6975798' ; //Do not change. Needed to get a VSTS ADAL access token.
31
31
//=====================================================
32
32
33
33
// Set up ADAL
112
112
}
113
113
</ script >
114
114
</ body >
115
- </ html >
115
+ </ html >
You can’t perform that action at this time.
0 commit comments