-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshizzow.m
42 lines (32 loc) · 1.18 KB
/
shizzow.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// shizzow.m
// shizzeeps
//
// Created by Sue Brown on 11/14/09.
// Copyright 2009 House of Crunchy. All rights reserved.
//
#import "shizzow.h"
#import "passwords.h"
@implementation shizzow
// NOTE: This will not happen when we call shizzeeps - it will happen when we call shizzow to shout
// However, I'm leaving it here for future reference.
//- (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge {
//
// // Just to make sure this is not happening in the call to shizzeeps
// NSLog(@"THIS SHOULD NOT HAPPEN: connectionDidReceiveAuthenticationChallenge");
//
// // Note that username and password are in passwords.h, which is ignored by git.
//
// // from stack overflow
// // http://stackoverflow.com/questions/1487874/securing-wcf-rest-service-for-use-with-iphone-application
// NSURLCredential *newCredential;
// newCredential=[NSURLCredential credentialWithUser:username
// password:password
// persistence:NSURLCredentialPersistenceNone];
// [[challenge sender] useCredential:newCredential
// forAuthenticationChallenge:challenge];
//
// // end stack overflow
//
//}
@end