Skip to content

Provide a callback to get OSDU token and not simply a string #33

Description

@philippeVerney

Is your feature request related to a problem? Please describe.
Sometimes the session need to reconnect. In that case, it must provide a token which may different than the initial one since the initial one may have expired.

Describe the solution you'd like
I would like the client session to get a new token instead of reusing the provided string at session initial startup.

Describe alternatives you've considered
Close and reopen a session with a new token string.

Additional context
The callback should be available for all languages (not only C++) whic certainly implies to use SWIG directory and consequently abstract class instead of std::function.

Activity

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

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