Authorization Element Reference
The authorization element lets you customize the authorization segment of the OAuth flow.
XML Schema of the Element
<xs:element name="Authorization" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="RequestMsgStyle" minOccurs="0"/>
<xs:element ref="ResponseMsgStyle minOccurs="0""/>
<xs:element ref="AuthorizationProcessors minOccurs="0""/>
<xs:element ref="TokenProcessor" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
Sequence Element |
Description of value |
||||||||||||
|
RequestMsgStyle |
According to RFC 6749, the default value is GET for Authorization Code Grant, Implicit Grant, and Customized Flow. <xs:element name="RequestMsgStyle" minOccurs="0"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="FORM"/> <xs:enumeration value="QUERY"/> <xs:enumeration value="QUERYPOST"/> </xs:restriction> </xs:simpleType> </xs:element>
|
||||||||||||
|
ResponseMsgStyle |
According to RFC 6749, the default value is GET for Authorization Code Grant, Implicit Grant, and Customized Flow. <xs:element name="ResponseMsgStyle" minOccurs="0"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="FORM"/> <xs:enumeration value="QUERY"/> <xs:enumeration value="JSON"/> <xs:enumeration value="RAWBODY"/> </xs:restriction> </xs:simpleType> </xs:element>
|
||||||||||||
|
AuthorizationProcessors |
Simulates a browser (user agent), automatically performing whatever authorization process is required to log in. Each AuthorizationProcessor within AuthorizationProcessors should be mapped to one pop-up page of the browser. <xs:element name="AuthorizationProcessors" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" ref="AuthorizationProcessor"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="AuthorizationProcessor"> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> </xs:element> |
||||||||||||
|
TokenProcessor |
Get tokens or other parameters if the response is not in the specified format. XML Schema of the Element<xs:element name="TokenProcessor" minOccurs="0"> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> </xs:element> |