Update session keep alive to account for all new session tokens outside of BAU server session.

This commit is contained in:
Kyle Matthew Hedden 2022-07-05 18:03:13 -04:00
parent d2a1e316ba
commit a5f5ed3cd1

View File

@ -61,8 +61,11 @@
}
- (BOOL)extendsAppSession {
NSNumber *extendSessionFlag = [self.responseInfoMap optionalNumberForKey:@"appSessionExtended"];
return extendSessionFlag == nil || [extendSessionFlag boolValue]; // Default to YES if the key does not exist.
//NSNumber *extendSessionFlag = [self.responseInfoMap optionalNumberForKey:@"appSessionExtended"];
//return extendSessionFlag == nil || [extendSessionFlag boolValue]; // Default to YES if the key does not exist.
// With the introduciton of NSA and OIDC tokens, we can no longer rely on BAU network touches to update our server session.
return NO;
}
#pragma mark - Deprecated