Interface UserSession

  • All Superinterfaces:
    Context
    All Known Implementing Classes:
    UserSessionImpl

    public interface UserSession
    extends Context
    User define is a stash to store objects and share them among scenarios per user define. A user will be created before the simulation starts, and it will existing during the simulation execution.

    Since:
    1.1.0
    Author:
    Erhan Bagdemir
    • Method Detail

      • getUser

        User getUser()
        Returns the user of the current define.

        Returns:
        The user of the current define.
      • getUserToken

        java.util.Optional<java.lang.String> getUserToken()
        Optional of user token.

        Returns:
        Optional type.
      • getRefreshToken

        java.util.Optional<java.lang.String> getRefreshToken()
        Optional of refresh token.

        Returns:
        Optional type.