Auth class

Inheritance

Constructors

Auth.new(V3 v)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createGuestSession({bool asMap = false}) Future
This method will let you create a new guest session. Guest sessions are a type of session that will let a user rate movies and TV shows but not require them to have a TMDb user account. More information about user authentication can be found here.
createRequestToken({bool asMap = false}) Future
Create a temporary request token that can be used to validate a TMDb user login. More details about how this works can be found here
createSession(String requestToken, {bool asMap = false}) Future
You can use this method to create a fully valid session ID once a user has validated the request token. More information about how this works can be found here.
createSessionFromV4AccessToken(String accessToken, {bool asMap = false}) Future
Use this method to create a v3 session ID if you already have a valid v4 access token. The v4 token needs to be authenticated by the user. Your standard "read token" will not validate to create a session ID.
createSessionWithLogin(String username, String password, {bool asMap = false}) Future
creates a request token with your tmdb user id and password using which you can generate a session
deleteSession(String sessionId) Future
If you would like to delete (or "logout") from a session, call this method with a valid session ID.
getValidationUrl(String requestToken) String
Returns a validating URL which can be used to create approve request
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited