...

Source file src/golang.org/x/oauth2/linkedin/linkedin.go

Documentation: golang.org/x/oauth2/linkedin

     1  // Copyright 2015 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Package linkedin provides constants for using OAuth2 to access LinkedIn.
     6  package linkedin // import "golang.org/x/oauth2/linkedin"
     7  
     8  import (
     9  	"golang.org/x/oauth2"
    10  )
    11  
    12  // Endpoint is LinkedIn's OAuth 2.0 endpoint.
    13  var Endpoint = oauth2.Endpoint{
    14  	AuthURL:   "https://www.linkedin.com/oauth/v2/authorization",
    15  	TokenURL:  "https://www.linkedin.com/oauth/v2/accessToken",
    16  	AuthStyle: oauth2.AuthStyleInParams,
    17  }
    18  

View as plain text