identity

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package identity contains protobuf types for identity management.

Index

Constants

This section is empty.

Variables

View Source
var File_identity_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Id             string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClientId       string            `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret   string            `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	Type           string            `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Scopes         []string          `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
	ServiceAccount string            `protobuf:"bytes,6,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Url            string            `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
	RequestParams  map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Provider) Clone

func (x *Provider) Clone() *Provider

Clone clones the Provider.

func (*Provider) Descriptor deprecated

func (*Provider) Descriptor() ([]byte, []int)

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetClientId

func (x *Provider) GetClientId() string

func (*Provider) GetClientSecret

func (x *Provider) GetClientSecret() string

func (*Provider) GetId

func (x *Provider) GetId() string

func (*Provider) GetRequestParams

func (x *Provider) GetRequestParams() map[string]string

func (*Provider) GetScopes

func (x *Provider) GetScopes() []string

func (*Provider) GetServiceAccount

func (x *Provider) GetServiceAccount() string

func (*Provider) GetType

func (x *Provider) GetType() string

func (*Provider) GetUrl

func (x *Provider) GetUrl() string

func (*Provider) Hash

func (x *Provider) Hash() string

Hash computes a sha256 hash of the provider's fields. It excludes the Id field.

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) ProtoReflect

func (x *Provider) ProtoReflect() protoreflect.Message

func (*Provider) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) String() string

Jump to

Keyboard shortcuts

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