-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new constant class for various OAuth 2 constant terms
- Loading branch information
1 parent
8c7423b
commit 0988ebf
Showing
3 changed files
with
56 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<actionScriptProperties analytics="false" mainApplicationPath="actionscript-oauth2.as" projectUUID="039ca7db-4d44-4e15-a6de-e370f33e189c" version="10"> | ||
<compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin" removeUnusedRSL="true" sourceFolderPath="src/main/actionscript" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="true" useDebugRSLSwfs="true" verifyDigests="true" warn="true"> | ||
<compilerSourcePath> | ||
<compilerSourcePathEntry kind="1" linkType="1" path="src/main/actionscript"/> | ||
<compilerSourcePathEntry kind="1" linkType="1" path="src/test/actionscript"/> | ||
</compilerSourcePath> | ||
<libraryPath defaultLinkType="0"> | ||
<libraryPathEntry kind="4" path=""> | ||
<excludedEntries> | ||
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/> | ||
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/> | ||
</excludedEntries> | ||
</libraryPathEntry> | ||
<libraryPathEntry kind="1" linkType="1" path="libs"/> | ||
</libraryPath> | ||
<sourceAttachmentPath/> | ||
</compiler> | ||
<applications> | ||
<application path="actionscript-oauth2.as"/> | ||
</applications> | ||
<modules/> | ||
<buildCSSFiles/> | ||
<flashCatalyst validateFlashCatalystCompatibility="false"/> | ||
</actionScriptProperties> | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<actionScriptProperties analytics="false" mainApplicationPath="actionscript-oauth2.as" projectUUID="039ca7db-4d44-4e15-a6de-e370f33e189c" version="10"> | ||
<compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin" removeUnusedRSL="true" sourceFolderPath="src/main/actionscript" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="true" useDebugRSLSwfs="true" verifyDigests="true" warn="true"> | ||
<compilerSourcePath> | ||
<compilerSourcePathEntry kind="1" linkType="1" path="src/main/actionscript"/> | ||
<compilerSourcePathEntry kind="1" linkType="1" path="src/test/actionscript"/> | ||
</compilerSourcePath> | ||
<libraryPath defaultLinkType="0"> | ||
<libraryPathEntry kind="4" path=""> | ||
<excludedEntries> | ||
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/> | ||
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/> | ||
</excludedEntries> | ||
</libraryPathEntry> | ||
<libraryPathEntry kind="1" linkType="1" path="libs"/> | ||
</libraryPath> | ||
<sourceAttachmentPath/> | ||
</compiler> | ||
<applications> | ||
<application path="actionscript-oauth2.as"/> | ||
</applications> | ||
<modules/> | ||
<buildCSSFiles/> | ||
<flashCatalyst validateFlashCatalystCompatibility="false"/> | ||
</actionScriptProperties> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3"> | ||
<includeClasses> | ||
<classEntry path="com.adobe.protocols.oauth2.OAuth2"/> | ||
<classEntry path="com.adobe.protocols.oauth2.grant.IGrantType"/> | ||
<classEntry path="com.adobe.protocols.oauth2.grant.AuthorizationCodeGrant"/> | ||
<classEntry path="com.adobe.protocols.oauth2.event.IOAuth2Event"/> | ||
<classEntry path="com.adobe.protocols.oauth2.event.GetAccessTokenEvent"/> | ||
<classEntry path="com.adobe.protocols.oauth2.grant.ImplicitGrant"/> | ||
<classEntry path="com.adobe.protocols.oauth2.grant.ResourceOwnerCredentialsGrant"/> | ||
<classEntry path="com.adobe.protocols.oauth2.event.RefreshAccessTokenEvent"/> | ||
</includeClasses> | ||
<includeResources/> | ||
<namespaceManifests/> | ||
</flexLibProperties> | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<flexLibProperties includeAllClasses="true" useMultiPlatformConfig="false" version="3"> | ||
<includeClasses> | ||
<classEntry path="com.adobe.protocols.oauth2.OAuth2"/> | ||
<classEntry path="com.adobe.protocols.oauth2.grant.IGrantType"/> | ||
<classEntry path="com.adobe.protocols.oauth2.grant.AuthorizationCodeGrant"/> | ||
<classEntry path="com.adobe.protocols.oauth2.event.IOAuth2Event"/> | ||
<classEntry path="com.adobe.protocols.oauth2.event.GetAccessTokenEvent"/> | ||
<classEntry path="com.adobe.protocols.oauth2.grant.ImplicitGrant"/> | ||
<classEntry path="com.adobe.protocols.oauth2.grant.ResourceOwnerCredentialsGrant"/> | ||
<classEntry path="com.adobe.protocols.oauth2.event.RefreshAccessTokenEvent"/> | ||
<classEntry path="com.adobe.protocols.oauth2.OAuth2Const"/> | ||
</includeClasses> | ||
<includeResources/> | ||
<namespaceManifests/> | ||
</flexLibProperties> |
15 changes: 15 additions & 0 deletions
15
src/main/actionscript/com/adobe/protocols/oauth2/OAuth2Const.as
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.adobe.protocols.oauth2 | ||
{ | ||
public class OAuth2Const | ||
{ | ||
public static const GRANT_TYPE_AUTHORIZATION_CODE:String = "authorization_code"; | ||
public static const GRANT_TYPE_RESOURCE_OWNER_CREDENTIALS:String = "password"; | ||
public static const GRANT_TYPE_REFRESH_TOKEN:String = "refresh_token"; | ||
|
||
public static const RESPONSE_TYPE_AUTHORIZATION_CODE:String = "code"; | ||
public static const RESPONSE_TYPE_IMPLICIT:String = "token"; | ||
|
||
public static const RESPONSE_PROPERTY_AUTHORIZATION_CODE:String = "code"; | ||
public static const RESPONSE_PROPERTY_ACCESS_TOKEN:String = "access_token"; | ||
} | ||
} |