Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TS-0022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Schema Definitions
TS-0022
Commits
9a7fd300
Commit
9a7fd300
authored
2 years ago
by
Miguel Angel Reina Ortega
Browse files
Options
Downloads
Patches
Plain Diff
MAS-2018-0066R04-Add_of_OAuth2_to_TS-22
parent
1def6549
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DCFG-OAuth2.xsd
+60
-0
60 additions, 0 deletions
DCFG-OAuth2.xsd
README.md
+2
-0
2 additions, 0 deletions
README.md
with
62 additions
and
0 deletions
DCFG-OAuth2.xsd
0 → 100644
+
60
−
0
View file @
9a7fd300
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright Notification
The oneM2M Partners authorize you to copy this document, provided that you retain all copyright and other proprietary notices
contained in the original materials on any copies of the materials and that you comply strictly with these terms.
This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of
any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document.
© 2017, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC). All rights reserved.
Notice of Disclaimer & Limitation of Liability
The information provided in this document is directed solely to professionals who have the appropriate degree of experience to understand
and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations.
No recommendation as to products or vendors is made or should be implied.
NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE,
GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY
PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS.
NO oneM2M PARTNER TYPE 1 SHALL BE LIABLE, BEYOND THE AMOUNT OF ANY SUM RECEIVED IN PAYMENT BY THAT PARTNER FOR THIS DOCUMENT, WITH RESPECT TO
ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES.
oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PROVIDED IN THIS DOCUMENT IS AT THE RISK OF THE USER.
-->
<xs:schema
xmlns=
"http://www.w3.org/2001/XMLSchema"
targetNamespace=
"https://git.onem2m.org/XMLSchemas/ts-0022/tree/4.0.0"
xmlns:m2m=
"https://git.onem2m.org/XMLSchemas/ts-0004/tree/4.0.0"
xmlns:dcfg=
"https://git.onem2m.org/XMLSchemas/ts-0022/tree/4.0.0"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:sec=
"https://git.onem2m.org/XMLSchemas/ts-0003/tree/4.0.0"
elementFormDefault=
"unqualified"
attributeFormDefault=
"unqualified"
>
<xs:include
schemaLocation=
"DCFG-commonTypes.xsd"
/>
<xs:import
namespace=
"https://git.onem2m.org/XMLSchemas/ts-0004/tree/4.0.0"
schemaLocation=
"CDT-subscription.xsd"
/>
<xs:import
namespace=
"https://git.onem2m.org/XMLSchemas/ts-0004/tree/4.0.0"
schemaLocation=
"CDT-commonTypes.xsd"
/>
<xs:import
namespace=
"https://git.onem2m.org/XMLSchemas/ts-0003/tree/4.0.0"
schemaLocation=
"SEC-commonTypes.xsd"
/>
<xs:element
name=
"OAuth2Authentication"
substitutionGroup=
"m2m:sg_mgmtResource"
>
<xs:complexType>
<xs:complexContent>
<!-- Inherit Common Attributes from data type "mgmtResource" -->
<xs:extension
base=
"m2m:mgmtResource"
>
<!-- Resource Specific Attributes -->
<xs:sequence>
<xs:element
name=
"accessToken"
type=
"xs:string"
/>
<xs:element
name=
"refreshToken"
type=
"xs:string"
/>
<!-- Child Resources -->
<xs:choice
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:element
name=
"childResource"
type=
"m2m:childResourceRef"
maxOccurs=
"unbounded"
/>
<xs:element
ref=
"m2m:subscription"
maxOccurs=
"unbounded"
/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
This diff is collapsed.
Click to expand it.
README.md
+
2
−
0
View file @
9a7fd300
...
...
@@ -17,6 +17,8 @@ This is the repository for developing XML schema for the reource types defined i
\<
trustAnchorCred
\>
\<
OAuth2
\>
DCFG-commonTypes.xsd defines data types common to all resource types
Note: The required xsd files CDT-commonTypes can be downloaded from
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment