lib/twitch.auth.js
function makeSession(session) {
  return {
    authenticated: !!session.token,
    token: session.token,
    scope: session.scope,
    error: session.error,
    errorDescription: session.errorDescription
  };
}
function makeSession(session) {
  return {
    authenticated: !!session.token,
    token: session.token,
    scope: session.scope,
    error: session.error,
    errorDescription: session.errorDescription
  };
}
function makeSession ( session ) { return { authenticated : ! ! session . token , token : session . token , scope : session . scope , error : session . error , errorDescription : session . errorDescription } ; }
Creates a session object

@private @method makeSession
@return {Object} Created session
Creates a session object