minor sonar issues
This commit is contained in:
@@ -50,13 +50,16 @@ public class TmdbAuthentication extends AbstractMethod {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is used to generate a valid request token for user based authentication.
|
||||
* This method is used to generate a valid request token for user based
|
||||
* authentication.
|
||||
*
|
||||
* A request token is required in order to request a session id.
|
||||
*
|
||||
* You can generate any number of request tokens but they will expire after 60 minutes.
|
||||
* You can generate any number of request tokens but they will expire after
|
||||
* 60 minutes.
|
||||
*
|
||||
* As soon as a valid session id has been created the token will be destroyed.
|
||||
* As soon as a valid session id has been created the token will be
|
||||
* destroyed.
|
||||
*
|
||||
* @return
|
||||
* @throws MovieDbException
|
||||
@@ -75,7 +78,8 @@ public class TmdbAuthentication extends AbstractMethod {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is used to generate a session id for user based authentication.
|
||||
* This method is used to generate a session id for user based
|
||||
* authentication.
|
||||
*
|
||||
* A session id is required in order to use any of the write methods.
|
||||
*
|
||||
@@ -102,7 +106,8 @@ public class TmdbAuthentication extends AbstractMethod {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is used to generate a session id for user based authentication. User must provide their username and password
|
||||
* This method is used to generate a session id for user based
|
||||
* authentication. User must provide their username and password
|
||||
*
|
||||
* A session id is required in order to use any of the write methods.
|
||||
*
|
||||
@@ -136,14 +141,18 @@ public class TmdbAuthentication extends AbstractMethod {
|
||||
/**
|
||||
* This method is used to generate a guest session id.
|
||||
*
|
||||
* A guest session can be used to rate movies without having a registered TMDb user account.
|
||||
* A guest session can be used to rate movies without having a registered
|
||||
* TMDb user account.
|
||||
*
|
||||
* You should only generate a single guest session per user (or device) as you will be able to attach the ratings to a TMDb user
|
||||
* account in the future.
|
||||
* You should only generate a single guest session per user (or device) as
|
||||
* you will be able to attach the ratings to a TMDb user account in the
|
||||
* future.
|
||||
*
|
||||
* There are also IP limits in place so you should always make sure it's the end user doing the guest session actions.
|
||||
* There are also IP limits in place so you should always make sure it's the
|
||||
* end user doing the guest session actions.
|
||||
*
|
||||
* If a guest session is not used for the first time within 24 hours, it will be automatically discarded.
|
||||
* If a guest session is not used for the first time within 24 hours, it
|
||||
* will be automatically discarded.
|
||||
*
|
||||
* @return
|
||||
* @throws MovieDbException
|
||||
@@ -157,4 +166,5 @@ public class TmdbAuthentication extends AbstractMethod {
|
||||
} catch (IOException ex) {
|
||||
throw new MovieDbException(ApiExceptionType.MAPPING_FAILED, "Failed to get Guest Session Token", url, ex);
|
||||
}
|
||||
}}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ import com.omertron.themoviedbapi.model.media.Translation;
|
||||
import com.omertron.themoviedbapi.model.media.Video;
|
||||
import com.omertron.themoviedbapi.model.person.ContentRating;
|
||||
import com.omertron.themoviedbapi.model.person.ExternalID;
|
||||
import com.omertron.themoviedbapi.model.tv.TVBasic;
|
||||
import com.omertron.themoviedbapi.model.tv.TVInfo;
|
||||
import com.omertron.themoviedbapi.results.ResultList;
|
||||
import com.omertron.themoviedbapi.results.WrapperGenericList;
|
||||
|
||||
Reference in New Issue
Block a user