update links
This commit is contained in:
		
							parent
							
								
									cf5c106f64
								
							
						
					
					
						commit
						3d9d7b00d7
					
				
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							| @ -5,7 +5,7 @@ oauth3.js | |||||||
| | [issuer.html](https://git.oauth3.org/OAuth3/issuer.html) | | [issuer.html](https://git.oauth3.org/OAuth3/issuer.html) | ||||||
| | [issuer.rest.walnut.js](https://git.oauth3.org/OAuth3/issuer.rest.walnut.js) | | [issuer.rest.walnut.js](https://git.oauth3.org/OAuth3/issuer.rest.walnut.js) | ||||||
| | [issuer.srv](https://git.oauth3.org/OAuth3/issuer.srv) | | [issuer.srv](https://git.oauth3.org/OAuth3/issuer.srv) | ||||||
| | Sponsored by [Daplie](https://daplie.com) | | Sponsored by [ppl](https://ppl.family) | ||||||
| 
 | 
 | ||||||
| The world's smallest, fastest, and most secure OAuth3 (and OAuth2) JavaScript implementation | The world's smallest, fastest, and most secure OAuth3 (and OAuth2) JavaScript implementation | ||||||
| (Yes! works in browsers and node.js with no extra dependencies or bloat and no hacks!) | (Yes! works in browsers and node.js with no extra dependencies or bloat and no hacks!) | ||||||
| @ -173,7 +173,7 @@ pushd /path/to/your/web/app | |||||||
| 
 | 
 | ||||||
| # clone the project as assets/org.oauth3 | # clone the project as assets/org.oauth3 | ||||||
| mkdir -p assets | mkdir -p assets | ||||||
| git clone git@git.daplie.com:OAuth3/oauth3.js.git assets/org.oauth3 | git clone git@git.oauth3.org:OAuth3/oauth3.js.git assets/org.oauth3 | ||||||
| pushd assets/org.oauth3 | pushd assets/org.oauth3 | ||||||
| git checkout v1 | git checkout v1 | ||||||
| popd | popd | ||||||
| @ -339,12 +339,11 @@ promise = oauth3.request({ url, method, data });    // make an (authorized) arbi | |||||||
|                                                     // (contacts, photos, whatever) |                                                     // (contacts, photos, whatever) | ||||||
| 
 | 
 | ||||||
| promise = oauth3.api(apiname, opts);                // make an (authorized) well-known api call to an audience | promise = oauth3.api(apiname, opts);                // make an (authorized) well-known api call to an audience | ||||||
|                                                     // See https://labs.daplie.com/docs/ for API schemas |                                                     // Ex: oauth3.api('dns.list', { sld: 'example', tld: 'com' }); | ||||||
|                                                     // Ex: oauth3.api('dns.list', { sld: 'daplie', tld: 'com' }); |  | ||||||
| 
 | 
 | ||||||
| // TODO | // TODO | ||||||
| api = await oauth3.package(audience, schemaname);   // make an (authorized) well-known api call to an audience | api = await oauth3.package(audience, schemaname);   // make an (authorized) well-known api call to an audience | ||||||
|                                                     // Ex: api = await oauth3.package('domains.daplie.com', 'dns@oauth3.org'); |                                                     // Ex: api = await oauth3.package('domains.example.com', 'dns@oauth3.org'); | ||||||
|                                                     //     api.list({ sld: 'mydomain', tld: 'com' }); |                                                     //     api.list({ sld: 'mydomain', tld: 'com' }); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @ -353,6 +352,10 @@ promise = oauth3.logout();                          // opens logout window for t | |||||||
| oauth3.session();                                   // returns the current session, if any | oauth3.session();                                   // returns the current session, if any | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | <!-- TODO | ||||||
|  | Track down the old https://labs.daplie.com/docs/ for API schemas | ||||||
|  | -- | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| Real API | Real API | ||||||
| ---------- | ---------- | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user