Class JellyfinCredentials

java.lang.Object
com.lariflix.jemm.dtos.JellyfinCredentials

public class JellyfinCredentials extends Object
This class represents the credentials for a Jellyfin server. It is used to store and manage information related to the credentials used to connect to a Jellyfin server.
Since:
1.0
Author:
Cesar Bianchi
  • Field Details

    • baseURL

      public String baseURL
    • tokenAPI

      public String tokenAPI
  • Constructor Details

    • JellyfinCredentials

      public JellyfinCredentials()
      Default constructor for JellyfinCredentials.
    • JellyfinCredentials

      public JellyfinCredentials(String cURL, String cToken)
      Constructor for JellyfinCredentials with specified base URL and token.
      Parameters:
      cURL - the base URL of the Jellyfin server
      cToken - the API token for authentication
  • Method Details

    • getBaseURL

      public String getBaseURL()
      Retrieves the base URL of the Jellyfin server.
      Returns:
      the base URL
    • setBaseURL

      public void setBaseURL(String baseURL)
      Sets the base URL of the Jellyfin server.
      Parameters:
      baseURL - the base URL to set
    • getTokenAPI

      public String getTokenAPI()
      Retrieves the API token for authentication.
      Returns:
      the API token
    • setTokenAPI

      public void setTokenAPI(String tokenAPI)
      Sets the API token for authentication.
      Parameters:
      tokenAPI - the API token to set