Skip to content

auth方法中的参数code是什么? #1

Open

Description

@t2krew
duoshuo.auth(code, function(err,token){
  console.log(token)
  // to sth with token    
});

参数code是什么来的?

Activity

  1. changed the title [-]auth方法中的code参数是什么?[/-] [+]auth方法中的参数code是什么?[/+] on Mar 3, 2015
  2. SunPeter commented on Mar 4, 2015

    @SunPeter

    同问

  3. guo-yu commented on Mar 6, 2015

    @guo-yu
    Member

    是 oauth2 返回到 callback uri 的 code,在 query string 中

  4. xiaoyang4011 commented on Jan 19, 2016

    @xiaoyang4011

    大神能否详细写下demo,好多地儿看不懂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions