hipchat package - golang.org/x/oauth2/hipchat - Go Packages | Latest TMZ Celebrity News & Gossip | Watch TMZ Live

hipchat

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2025 License: BSD-3-Clause Imports: 4 Imported by: 6

Documentation

Overview

Package hipchat provides constants for using OAuth2 to access HipChat.

Index

Constants

This section is empty.

Variables

View Source
var Endpoint = oauth2.Endpoint{
	AuthURL:  "https://www.hipchat.com/users/authorize",
	TokenURL: "https://api.hipchat.com/v2/oauth/token",
}

Endpoint is HipChat's OAuth 2.0 endpoint.

Functions

func ClientCredentialsConfigFromCaps

func ClientCredentialsConfigFromCaps(capsJSON []byte, clientID, clientSecret string, scopes ...string) (*clientcredentials.Config, error)

ClientCredentialsConfigFromCaps generates a Config from a HipChat API capabilities descriptor. It does not verify the scopes against the capabilities document at this time.

For more information see: https://www.hipchat.com/docs/apiv2/method/get_capabilities

func ServerEndpoint

func ServerEndpoint(host string) oauth2.Endpoint

ServerEndpoint returns a new oauth2.Endpoint for a HipChat Server instance running on the given domain or host.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.