Skip to content

Commit

Permalink
Don't forget to sign our requests
Browse files Browse the repository at this point in the history
  • Loading branch information
p2 committed Dec 1, 2015
1 parent f25736c commit 564fee7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Classes/Server.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ public class Server: FHIROpenServer
}


// MARK: - Requests

public override func configurableRequestForURL(url: NSURL) -> NSMutableURLRequest {
return auth?.signedRequest(url) ?? super.configurableRequestForURL(url)
}


// MARK: - Server Conformance

public override func didSetConformance(conformance: Conformance) {
Expand Down

0 comments on commit 564fee7

Please sign in to comment.