idp

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package idp 提供身份提供者(IDP)能力。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client IDP 服务客户端。

func NewClient

func NewClient(idp idpv1.IDPServiceClient) *Client

NewClient 创建 IDP 服务客户端。

func (*Client) GetWechatApp

func (c *Client) GetWechatApp(ctx context.Context, appID string) (*idpv1.GetWechatAppResponse, error)

GetWechatApp 根据 AppID 查询微信应用。

func (*Client) Raw

func (c *Client) Raw() idpv1.IDPServiceClient

Raw 返回原始 IDP 服务客户端。

Jump to

Keyboard shortcuts

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