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) { typedef NS_ENUM(NSUInteger, BITAuthenticatorAuthType) {
BITAuthenticatorAuthTypeEmail, BITAuthenticatorAuthTypeEmail,
BITAuthenticatorAuthTypeEmailAndPassword, BITAuthenticatorAuthTypeEmailAndPassword,
BITAuthenticatorAuthTypeWebbased, BITAuthenticatorAuthTypeUDIDProvider,
//TODO: add Facebook? //TODO: add Facebook?
}; };

View File

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