elixir

package
v0.0.0-...-2d29ae5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package elixir provides a ga4gh.Shim implementation for translating ELIXIR identities into GA4GH identities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shim

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

Shim is a ga4gh.Shim that converts ELIXIR identities into GA4GH identities.

func NewShim

func NewShim(ctx context.Context, clientID string) (*Shim, error)

NewShim creates a new Shim with the provided OIDC client ID. If the tokens passed to this shim do not have an audience claim with a value equal to the clientID value then they will be rejected.

func (*Shim) Shim

func (s *Shim) Shim(ctx context.Context, auth string) (*ga4gh.Identity, error)

Shim implements the ga4gh.Shim interface.

Jump to

Keyboard shortcuts

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