rename auth type to UDIDProvider

naming can be hard - thanks @therealkerni
This commit is contained in:
Stephan Diederich 2013-09-07 22:19:38 +02:00
parent 2d97ac7cf7
commit 1504b2d9d9
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
typedef NS_ENUM(NSUInteger, BITAuthenticatorAuthType) {
BITAuthenticatorAuthTypeEmail,
BITAuthenticatorAuthTypeEmailAndPassword,
BITAuthenticatorAuthTypeWebbased,
BITAuthenticatorAuthTypeUDIDProvider,
//TODO: add Facebook?
};

View File

@ -136,7 +136,7 @@ static NSString* const kBITAuthenticatorLastAuthenticatedVersionKey = @"BITAuthe
case BITAuthenticatorAuthTypeEmailAndPassword:
params = @{@"auid" : self.authenticationToken};
break;
case BITAuthenticatorAuthTypeWebbased:
case BITAuthenticatorAuthTypeUDIDProvider:
params = @{@"udid" : self.authenticationToken};
break;
}
@ -210,7 +210,7 @@ static NSString* const kBITAuthenticatorLastAuthenticatedVersionKey = @"BITAuthe
case BITAuthenticatorAuthTypeEmail:
viewController.requirePassword = NO;
break;
case BITAuthenticatorAuthTypeWebbased:
case BITAuthenticatorAuthTypeUDIDProvider:
viewController.requirePassword = NO;
viewController.showsLoginViaWebButton = YES;
break;