This HTML5 document contains 48 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
n19http://oauth.net/core/1.0/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n13http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n18http://ods.openlinksw.com/dataspace/dav/wiki/ODS/
dchttp://purl.org/dc/elements/1.1/
n5http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n14http://rdfs.org/sioc/services#
n16http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n9http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n7http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtuosoOAuthServer/sioc.
n4http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n20http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n16:this
foaf:made
n2:VirtuosoOAuthServer
Subject Item
n5:this
sioc:creator_of
n2:VirtuosoOAuthServer
Subject Item
n13:item
n14:services_of
n2:VirtuosoOAuthServer
Subject Item
n4:this
sioc:creator_of
n2:VirtuosoOAuthServer
Subject Item
n9:VOS
sioc:container_of
n2:VirtuosoOAuthServer
atom:entry
n2:VirtuosoOAuthServer
atom:contains
n2:VirtuosoOAuthServer
Subject Item
n2:VirtuosoOdsControllers
sioc:links_to
n2:VirtuosoOAuthServer
Subject Item
n2:VirtuosoOAuthServer
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:42:17.247141
dcterms:modified
2017-06-29T07:42:30.161904
rdfs:label
VirtuosoOAuthServer
foaf:maker
n16:this n20:this
dc:title
VirtuosoOAuthServer
opl:isDescribedUsing
n7:rdf
sioc:has_creator
n4:this n5:this
sioc:content
%VOSWARNING% %META:TOPICPARENT{name="OAuth"}% %TOC% ---+ OAuth server ---++ General The [[OAuth]] protocol enables web services consumers to access protected resources via an API without requiring users to supply the service credentials to the consumers. It's a generic methodology for unobtrusive, wire protocol level authenticated data access over HTTP. ---++ API Virtuoso implements the OAuth Core 1.0 specification, and exposes the following API endpoints: ---+++ Request token <b>Endpoint:</b> <code><nowiki>http://server-cname/OAuth/request_token</nowiki></code> <b>Parameters</b> * <b><code><nowiki>oauth_consumer_key</nowiki></code></b> &mdash; The Consumer Key. * <b><code><nowiki>oauth_signature_method</nowiki></code></b> &mdash; The signature method the Consumer used to sign the request. * <b><code><nowiki>oauth_signature</nowiki></code></b> &mdash; The signature as defined in Signing Requests (Signing Requests). * <b><code><nowiki>oauth_timestamp</nowiki></code></b> &mdash; As defined in Nonce and Timestamp (Nonce and Timestamp). * <b><code><nowiki>oauth_nonce</nowiki></code></b> &mdash; As defined in Nonce and Timestamp (Nonce and Timestamp). * <b><code><nowiki>oauth_version</nowiki></code></b> &mdash; OPTIONAL. If present, value MUST be 1.0 . ---++++ Example <b>Request:</b> <verbatim> http://localhost:8890/OAuth/request_token?oauth_version=1.0&oauth_nonce =dad4cb071e2169cbcaa051d404ac61a3&oauth_timestamp=1201873644&oauth_cons umer_key=f756023be5ff1f20881cf8fe398069f3976b2304&oauth_signature_metho d=HMAC-SHA1&oauth_signature=z76k5fQ0msFsQzCmhO%2FJZ329ZUE%3D </verbatim> <i><b>Note:</b> all long lines in example texts are split, i.e., the <code>GET</code> request is single line.</i> <b>Response:</b> <verbatim> oauth_token=b4e22daa117b0bebf60ab6ba6e401edc7addd78c&oauth_token_secret =4de6e3ab17553a0a385ebf6a3b4dd30f </verbatim> ---+++ Authorization <b>Endpoint:</b> <code><nowiki>http://server-cname/OAuth/authorize</nowiki></code> <b>Parameters:</b> * <b><code>oauth_token</code></b> &mdash; The Request Token obtained in the previous step. The current implementation of the Service Provider declare this parameter as REQUIRED. * <b><code>oauth_callback</code></b> &mdash; OPTIONAL. The Consumer MAY specify a URL the Service Provider will use to redirect the User back to the Consumer when Obtaining User Authorization (Obtaining User Authorization) is complete. ---++++ Example <b>Request:</b> <verbatim> http://localhost:8890/OAuth/authorize?oauth_token=b4e22daa117b0bebf60ab 6ba6e401edc7addd78c&oauth_callback=http%3A%2F%2Flocalhost%3A8890%2Foaut h%2Fexample%2Fclient.php%3Fkey%3Df756023be5ff1f20881cf8fe398069f3976b23 04%26secret%3Dcc249bfb732039d8ecba9e4f94fdead7%26token%3Db4e22daa117b0b ebf60ab6ba6e401edc7addd78c%26token_secret%3D4de6e3ab17553a0a385ebf6a3b4 dd30f%26endpoint%3Dhttp%253A%252F%252Flocalhost%253A8890%252FOAuth%252F authorize </verbatim> The User will be asked via web page to accept or decline the token. ---+++ Access token <b>Endpoint:</b> <code><nowiki>http://server-cname/OAuth/access_token</nowiki></code> <b>Parameters:</b> * <b><code><nowiki>oauth_consumer_key</nowiki></code></b> &mdash; The Consumer Key. * <b><code><nowiki>oauth_token</nowiki></code></b> &mdash; The Request Token obtained previously. * <b><code><nowiki>oauth_signature_method</nowiki></code></b> &mdash; The signature method the Consumer used to sign the request. * <b><code><nowiki>oauth_signature</nowiki></code></b> &mdash; The signature as defined in Signing Requests (Signing Requests). * <b><code><nowiki>oauth_timestamp</nowiki></code></b> &mdash; As defined in Nonce and Timestamp (Nonce and Timestamp). * <b><code><nowiki>oauth_nonce</nowiki></code></b> &mdash; As defined in Nonce and Timestamp (Nonce and Timestamp). * <b><code><nowiki>oauth_version</nowiki></code></b> &mdash; OPTIONAL. If present, value MUST be 1.0 . ---++++ Example <b>Request:</b> <verbatim> http://localhost:8890/OAuth/access_token?oauth_version=1.0&oauth_nonce= 8ad75091a66bdd741472be42149c828e&oauth_timestamp=1201873800&oauth_consu mer_key=f756023be5ff1f20881cf8fe398069f3976b2304&oauth_token=b4e22daa11 7b0bebf60ab6ba6e401edc7addd78c&oauth_signature_method=HMAC-SHA1&oauth_s ignature=tCxy0Lod4%2Bp%2FCBPV7Ph7RrsHXe4%3D </verbatim> <b>Response:</b> <verbatim> oauth_token=8c03b3da93480ca4728cc1194d6d03962f3bb5bb&oauth_token_secret =854fd29c00adcedff4fbeaeb96584911 </verbatim> In addition to the endpoints, it defines an API for PL applications to check authentication: ---+++ Authentication verification <verbatim> OAUTH.DBA.check_authentication (in params any, in lines any) </verbatim> <b>Parameters:</b> * <b>params</b> &mdash; an array of strings representing the HTTP parameters * <b>lines</b> &mdash; an array of HTTP request headers <b>Result:</b> * on success, it returns integer 1. * on failure, it signals an SQL error. ---++++Sample code A sample service (<code>oauth.vsp</code>): <verbatim> <html> <body> <?vsp OAUTH..check_authentication (params, lines); ?> An OAuth testing page </body> </html> </verbatim> ---++++Sample request <verbatim> http://localhost:8890/admin/oauth.vsp?oauth_version=1.0&oauth_nonce=d57 640869b994b2d51bf9800229c4997&oauth_timestamp=1201873935&oauth_consumer _key=f756023be5ff1f20881cf8fe398069f3976b2304&oauth_token=8c03b3da93480 ca4728cc1194d6d03962f3bb5bb&oauth_signature_method=HMAC-SHA1&oauth_sign ature=X3K4lr9bJVz5YLnnyJDkykQZivY%3D </verbatim> ---++++Sample response <verbatim> <html> <body> An OAuth testing page </body> </html> </verbatim> ---++References * [[OAuth][OpenLink's explanation of OAuth]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VirtOAuthControllers][Using OAuth with ODS]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VirtuosoOdsUbiquity][ODS Ubiquity Commands]] * [[VirtOAuth][Virtuoso OAuth Implementation]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VirtuosoOdsControllers][ODS Controllers]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VirtODSOAuthQA][Testing Virtuoso OAuth with 3rd Party OAuth Clients]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VirtuosoOdsUbiquityTutorialsOAuth][OAuth Ubiquity Tutorial]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VirtOAuthTestTool][Virtuoso OAuth Test Tool for ODS Controllers]] * [[VirtOAuthSPARQL][Virtuoso SPARQL OAuth Tutorial]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VirtuosoOdsUbiquityTutorials][ODS Ubiquity Tutorials]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/VirtOAuthExamples][OAuth Applications Authentication examples]] * [[http://oauth.net/core/1.0/][OAuth API]] * [[VirtAuthServerUI][Virtuoso Authentication Server UI]] CategoryVirtuoso CategoryODS CategoryOAuth CategoryVOS CategoryDocumentation
sioc:id
cc7f0481ff60662d36220e25d5260d71
sioc:link
n2:VirtuosoOAuthServer
sioc:has_container
n9:VOS
n14:has_services
n13:item
atom:title
VirtuosoOAuthServer
sioc:links_to
n2:OAuth n2:CategoryDocumentation n2:CategoryODS n2:CategoryVOS n2:CategoryVirtuoso n18:VirtOAuthExamples n2:VirtAuthServerUI n19: n18:VirtOAuthTestTool n18:VirtuosoOdsUbiquityTutorialsOAuth n18:VirtuosoOdsUbiquity n18:VirtODSOAuthQA n18:VirtuosoOdsControllers n2:VirtOAuth n2:CategoryOAuth n18:VirtOAuthControllers n18:VirtuosoOdsUbiquityTutorials
atom:source
n9:VOS
atom:author
n16:this
atom:published
2017-06-13T05:42:17Z
atom:updated
2017-06-29T07:42:30Z
sioc:topic
n9:VOS
Subject Item
n2:VirtODSOAuthQA
sioc:links_to
n2:VirtuosoOAuthServer