Skip to content

Greatly improves documentation - #37

Open
jaredperreault-okta wants to merge 8 commits into
jp-react-native-sdkfrom
jp-OKTA-1043569
Open

Greatly improves documentation#37
jaredperreault-okta wants to merge 8 commits into
jp-react-native-sdkfrom
jp-OKTA-1043569

Conversation

@jaredperreault-okta

Copy link
Copy Markdown
Contributor

No description provided.

@jaredperreault-okta
jaredperreault-okta marked this pull request as ready for review August 17, 2026 18:54
Comment on lines 351 to 356
get isExpired (): boolean {
if (!this.expirationTime) {
return false;
}
const now = Platform.TimeCoordinator.now();
return now.isBefore(this.expirationTime);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be now.isAfter(this.experiationTime)? or !now.isBefore ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm reading it as is token expired? Current time is before expiration time then not expired return false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants