Skip to content

Commit

Permalink
Client api
Browse files Browse the repository at this point in the history
  • Loading branch information
gavin-black committed Dec 20, 2013
0 parents commit f5631e5
Show file tree
Hide file tree
Showing 23 changed files with 1,012 additions and 0 deletions.
249 changes: 249 additions & 0 deletions client-api/sso-client-api.xcodeproj/project.pbxproj
@@ -0,0 +1,249 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
3E7551DC1860C0B0008930B8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E7551DB1860C0B0008930B8 /* Foundation.framework */; };
3E7551E11860C0B0008930B8 /* ssoClient.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 3E7551E01860C0B0008930B8 /* ssoClient.h */; };
3E7551E31860C0B0008930B8 /* ssoClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 3E7551E21860C0B0008930B8 /* ssoClient.m */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
3E7551D61860C0B0008930B8 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "include/${PRODUCT_NAME}";
dstSubfolderSpec = 16;
files = (
3E7551E11860C0B0008930B8 /* ssoClient.h in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
3E7551D81860C0B0008930B8 /* libsso-client-api.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libsso-client-api.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3E7551DB1860C0B0008930B8 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
3E7551DF1860C0B0008930B8 /* sso-client-api-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "sso-client-api-Prefix.pch"; sourceTree = "<group>"; };
3E7551E01860C0B0008930B8 /* ssoClient.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ssoClient.h; sourceTree = "<group>"; };
3E7551E21860C0B0008930B8 /* ssoClient.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ssoClient.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
3E7551D51860C0B0008930B8 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
3E7551DC1860C0B0008930B8 /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
3E7551CF1860C0B0008930B8 = {
isa = PBXGroup;
children = (
3E7551DD1860C0B0008930B8 /* sso-client-api */,
3E7551DA1860C0B0008930B8 /* Frameworks */,
3E7551D91860C0B0008930B8 /* Products */,
);
sourceTree = "<group>";
};
3E7551D91860C0B0008930B8 /* Products */ = {
isa = PBXGroup;
children = (
3E7551D81860C0B0008930B8 /* libsso-client-api.a */,
);
name = Products;
sourceTree = "<group>";
};
3E7551DA1860C0B0008930B8 /* Frameworks */ = {
isa = PBXGroup;
children = (
3E7551DB1860C0B0008930B8 /* Foundation.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
3E7551DD1860C0B0008930B8 /* sso-client-api */ = {
isa = PBXGroup;
children = (
3E7551E01860C0B0008930B8 /* ssoClient.h */,
3E7551E21860C0B0008930B8 /* ssoClient.m */,
3E7551DE1860C0B0008930B8 /* Supporting Files */,
);
path = "sso-client-api";
sourceTree = "<group>";
};
3E7551DE1860C0B0008930B8 /* Supporting Files */ = {
isa = PBXGroup;
children = (
3E7551DF1860C0B0008930B8 /* sso-client-api-Prefix.pch */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
3E7551D71860C0B0008930B8 /* sso-client-api */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3E7551E61860C0B0008930B8 /* Build configuration list for PBXNativeTarget "sso-client-api" */;
buildPhases = (
3E7551D41860C0B0008930B8 /* Sources */,
3E7551D51860C0B0008930B8 /* Frameworks */,
3E7551D61860C0B0008930B8 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = "sso-client-api";
productName = "sso-client-api";
productReference = 3E7551D81860C0B0008930B8 /* libsso-client-api.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
3E7551D01860C0B0008930B8 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0460;
ORGANIZATIONNAME = "Black, Gavin S.";
};
buildConfigurationList = 3E7551D31860C0B0008930B8 /* Build configuration list for PBXProject "sso-client-api" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 3E7551CF1860C0B0008930B8;
productRefGroup = 3E7551D91860C0B0008930B8 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
3E7551D71860C0B0008930B8 /* sso-client-api */,
);
};
/* End PBXProject section */

/* Begin PBXSourcesBuildPhase section */
3E7551D41860C0B0008930B8 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3E7551E31860C0B0008930B8 /* ssoClient.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
3E7551E41860C0B0008930B8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
};
name = Debug;
};
3E7551E51860C0B0008930B8 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
3E7551E71860C0B0008930B8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DSTROOT = /tmp/sso_client_api.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "sso-client-api/sso-client-api-Prefix.pch";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Debug;
};
3E7551E81860C0B0008930B8 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
DSTROOT = /tmp/sso_client_api.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "sso-client-api/sso-client-api-Prefix.pch";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
3E7551D31860C0B0008930B8 /* Build configuration list for PBXProject "sso-client-api" */ = {
isa = XCConfigurationList;
buildConfigurations = (
3E7551E41860C0B0008930B8 /* Debug */,
3E7551E51860C0B0008930B8 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
3E7551E61860C0B0008930B8 /* Build configuration list for PBXNativeTarget "sso-client-api" */ = {
isa = XCConfigurationList;
buildConfigurations = (
3E7551E71860C0B0008930B8 /* Debug */,
3E7551E81860C0B0008930B8 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 3E7551D01860C0B0008930B8 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "1.0">
<FileBreakpoints>
<FileBreakpoint
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "sso-client-api/ssoClient.m"
timestampString = "409057266.395453"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "23"
endingLineNumber = "23"
landmarkName = "+fetchHash:"
landmarkType = "5">
</FileBreakpoint>
</FileBreakpoints>
</Bucket>
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0460"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3E7551D71860C0B0008930B8"
BuildableName = "libsso-client-api.a"
BlueprintName = "sso-client-api"
ReferencedContainer = "container:sso-client-api.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>sso-client-api.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>3E7551D71860C0B0008930B8</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
7 changes: 7 additions & 0 deletions client-api/sso-client-api/sso-client-api-Prefix.pch
@@ -0,0 +1,7 @@
//
// Prefix header for all source files of the 'sso-client-api' target in the 'sso-client-api' project
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
18 changes: 18 additions & 0 deletions client-api/sso-client-api/ssoClient.h
@@ -0,0 +1,18 @@
//
// sso_client_api.h
// sso-client-api
//
// Created by Black, Gavin S. on 12/17/13.
// Copyright (c) 2013 Black, Gavin S. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ssoClient : NSObject

+ (void) logout;
+ (NSString*) fetchHash : (NSString*) callbackURI;
+ (NSString* ) fetchAndMergeHash : (NSString *) callbackURI : (NSString *) additionalHash;


@end

0 comments on commit f5631e5

Please sign in to comment.