Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

18 rader
572 B

  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. // Package linkedin provides constants for using OAuth2 to access LinkedIn.
  5. package linkedin // import "golang.org/x/oauth2/linkedin"
  6. import (
  7. "golang.org/x/oauth2"
  8. )
  9. // Endpoint is LinkedIn's OAuth 2.0 endpoint.
  10. var Endpoint = oauth2.Endpoint{
  11. AuthURL: "https://www.linkedin.com/oauth/v2/authorization",
  12. TokenURL: "https://www.linkedin.com/oauth/v2/accessToken",
  13. AuthStyle: oauth2.AuthStyleInParams,
  14. }