base: github.com/grailbio/base/security/identity Index | Files

package identity

import "github.com/grailbio/base/security/identity"

Package identity defines interfaces for Vanadium identity providers.

Index

Package Files

identity.vdl.go

Variables

var Ec2BlesserDesc rpc.InterfaceDesc = descEc2Blesser

Ec2BlesserDesc describes the Ec2Blesser interface.

var GoogleBlesserDesc rpc.InterfaceDesc = descGoogleBlesser

GoogleBlesserDesc describes the GoogleBlesser interface.

type Ec2BlesserClientMethods Uses

type Ec2BlesserClientMethods interface {
    // BlessEc2 uses the provided EC2 instance identity document in PKCS#7
    // format to return a blessing to the client.
    BlessEc2(_ *context.T, pkcs7b64 string, _ ...rpc.CallOpt) (blessing security.Blessings, _ error)
}

Ec2BlesserClientMethods is the client interface containing Ec2Blesser methods.

Ec2Blesser returns a blessing given the provided EC2 instance identity document.

type Ec2BlesserClientStub Uses

type Ec2BlesserClientStub interface {
    Ec2BlesserClientMethods
    rpc.UniversalServiceMethods
}

Ec2BlesserClientStub adds universal methods to Ec2BlesserClientMethods.

func Ec2BlesserClient Uses

func Ec2BlesserClient(name string) Ec2BlesserClientStub

Ec2BlesserClient returns a client stub for Ec2Blesser.

type Ec2BlesserServerMethods Uses

type Ec2BlesserServerMethods interface {
    // BlessEc2 uses the provided EC2 instance identity document in PKCS#7
    // format to return a blessing to the client.
    BlessEc2(_ *context.T, _ rpc.ServerCall, pkcs7b64 string) (blessing security.Blessings, _ error)
}

Ec2BlesserServerMethods is the interface a server writer implements for Ec2Blesser.

Ec2Blesser returns a blessing given the provided EC2 instance identity document.

type Ec2BlesserServerStub Uses

type Ec2BlesserServerStub interface {
    Ec2BlesserServerStubMethods
    // Describe the Ec2Blesser interfaces.
    Describe__() []rpc.InterfaceDesc
}

Ec2BlesserServerStub adds universal methods to Ec2BlesserServerStubMethods.

func Ec2BlesserServer Uses

func Ec2BlesserServer(impl Ec2BlesserServerMethods) Ec2BlesserServerStub

Ec2BlesserServer returns a server stub for Ec2Blesser. It converts an implementation of Ec2BlesserServerMethods into an object that may be used by rpc.Server.

type Ec2BlesserServerStubMethods Uses

type Ec2BlesserServerStubMethods Ec2BlesserServerMethods

Ec2BlesserServerStubMethods is the server interface containing Ec2Blesser methods, as expected by rpc.Server. There is no difference between this interface and Ec2BlesserServerMethods since there are no streaming methods.

type GoogleBlesserClientMethods Uses

type GoogleBlesserClientMethods interface {
    BlessGoogle(_ *context.T, idToken string, _ ...rpc.CallOpt) (blessing security.Blessings, _ error)
}

GoogleBlesserClientMethods is the client interface containing GoogleBlesser methods.

GoogleBlesser returns a blessing giving the provided Google ID token.

type GoogleBlesserClientStub Uses

type GoogleBlesserClientStub interface {
    GoogleBlesserClientMethods
    rpc.UniversalServiceMethods
}

GoogleBlesserClientStub adds universal methods to GoogleBlesserClientMethods.

func GoogleBlesserClient Uses

func GoogleBlesserClient(name string) GoogleBlesserClientStub

GoogleBlesserClient returns a client stub for GoogleBlesser.

type GoogleBlesserServerMethods Uses

type GoogleBlesserServerMethods interface {
    BlessGoogle(_ *context.T, _ rpc.ServerCall, idToken string) (blessing security.Blessings, _ error)
}

GoogleBlesserServerMethods is the interface a server writer implements for GoogleBlesser.

GoogleBlesser returns a blessing giving the provided Google ID token.

type GoogleBlesserServerStub Uses

type GoogleBlesserServerStub interface {
    GoogleBlesserServerStubMethods
    // Describe the GoogleBlesser interfaces.
    Describe__() []rpc.InterfaceDesc
}

GoogleBlesserServerStub adds universal methods to GoogleBlesserServerStubMethods.

func GoogleBlesserServer Uses

func GoogleBlesserServer(impl GoogleBlesserServerMethods) GoogleBlesserServerStub

GoogleBlesserServer returns a server stub for GoogleBlesser. It converts an implementation of GoogleBlesserServerMethods into an object that may be used by rpc.Server.

type GoogleBlesserServerStubMethods Uses

type GoogleBlesserServerStubMethods GoogleBlesserServerMethods

GoogleBlesserServerStubMethods is the server interface containing GoogleBlesser methods, as expected by rpc.Server. There is no difference between this interface and GoogleBlesserServerMethods since there are no streaming methods.

Package identity imports 6 packages (graph). Updated 2018-08-17. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).