Documentation ¶
Overview ¶
Package oauth provides the OAuth APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizeURL ¶
func AuthorizeURL(params *stripe.AuthorizeURLParams) string
AuthorizeURL builds an OAuth authorize URL.
func Del ¶
func Del(params *stripe.DeauthorizeParams) (*stripe.Deauthorize, error)
Del deauthorizes a connected account.
func New ¶
func New(params *stripe.OAuthTokenParams) (*stripe.OAuthToken, error)
New creates an OAuth token using a code after successful redirection back.
Types ¶
type Client ¶
Client is used to invoke /oauth and related APIs.
func (Client) AuthorizeURL ¶
func (c Client) AuthorizeURL(params *stripe.AuthorizeURLParams) string
AuthorizeURL builds an OAuth authorize URL.
func (Client) Del ¶
func (c Client) Del(params *stripe.DeauthorizeParams) (*stripe.Deauthorize, error)
Del deauthorizes a connected account.
func (Client) New ¶
func (c Client) New(params *stripe.OAuthTokenParams) (*stripe.OAuthToken, error)
New creates an OAuth token using a code after successful redirection back.
Click to show internal directories.
Click to hide internal directories.