Skip to content

New method: GetSecuredApiKeyRemainingValidity #772

Closed
@Ant-hem

Description

@Ant-hem

Summary

When a secured API keys expire, search breaks. The current workaround is more complex
than it needs to be.

The options for developers using Algolia require, at every place where a search
operation is performed, catching an operation error, identify it as a
"ValidUntil" error, then regenerate the API key, and perform the search
operation again.

The idea is to define a method which tells if a SecuredAPIKey
is expired or not without making a single call to Algolia's API.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions