Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
type Db interface { // 取得。 Get(id string) (Element, error) // まとめて取得。 // 属性名と該当値の正規表現の連言で絞り込める。 Search(filter map[string]string) ([]Element, error) }
ID プロバイダ情報の格納庫。
func NewMemoryDb ¶
type Element ¶
type Element interface { Id() string // 言語タグから表示名へのマップ。 Names() map[string]string // 認証エンドポイント。 AuthUri() string // トークンエンドポイント。 TokenUri() string // アカウント情報エンドポイント。 AccountUri() string // 連携元仲介エンドポイント。 CoopFromUri() string // 連携先仲介エンドポイント。 CoopToUri() string // 鍵。 Keys() []jwk.Key }
ID プロバイダ情報。
Click to show internal directories.
Click to hide internal directories.