Interface User

  • All Known Subinterfaces:
    OAuthUser
    All Known Implementing Classes:
    OAuthUserImpl, UserImpl

    public interface User
    Representation of a User, that is used in requests against the backend. Every request is associated with an user.
    Since:
    1.0.0
    Author:
    Erhan Bagdemir
    • Method Detail

      • getUsername

        java.lang.String getUsername()
        User name.
        Returns:
        User name.
      • getPassword

        java.lang.String getPassword()
        Password, if authentication is required.
        Returns:
        Password.
      • getScope

        java.lang.String getScope()
        Scope of the user.
        Returns:
        Authorization scope.
      • getId

        int getId()
        A unique id to distinguish the user from others.
        Returns:
        The id of the user.