Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

richardpiazza/XCServerAPI

Repository files navigation

XCServerAPI

Version Platform

An API and model framework for working with Xcode Server.

NOTICE

This project is being deprecated, and the work is being folded into a new framework. Checkout the 'XcodeServer' framework here

XCServerWebAPI.swift

Wraps an NSURLSession for each XcodeServer entity. Two static delegates are available for handling SSL and HTTP Authentication for your server:

XCServerWebAPI.sessionDelegate: NSURLSessionDelegate
XCServerWebAPI.credentialDelegate: XCServerWebAPICredentialDelegate

There are default objects assigned to these properties. The default sessionDelegate will accept and trust SSL certificates even if self-signed. The default credentialDelegate will provide no credentials.

The XCServerWebAPICredentialDelegate has a default implementation for the method:

credentialsHeader(forAPI:) -> XCServerWebAPICredentialsHeader

that will return a base 64 encoded username password pair for the HTTP Authorization header.

About

DEPRECATED: A framework that models the Xcode Server REST API

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages