Documentation ¶
Overview ¶
Copyright (c) 2022 Take 2 Identity, Inc
Copyright (c) 2022 Take 2 Identity, Inc ¶
Copyright (c) 2022 Take 2 Identity, Inc ¶
Copyright (c) 2022 Take 2 Identity, Inc ¶
Copyright (c) 2022 Take 2 Identity, Inc ¶
Copyright (c) 2022 Take 2 Identity, Inc
Index ¶
Constants ¶
View Source
const (
LDAP_TIMESTAMP_LAYOUT = "20060102150405Z0700"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsvReader ¶
type CsvReader struct {
// contains filtered or unexported fields
}
func NewCsvReader ¶
type JsonWriter ¶
type JsonWriter struct {
// contains filtered or unexported fields
}
func NewJsonWriter ¶
func NewJsonWriter(writer io.Writer) (*JsonWriter, error)
func (*JsonWriter) Write ¶
func (w *JsonWriter) Write(record *Record) error
type LdifReader ¶
type LdifReader struct {
// contains filtered or unexported fields
}
func NewLdifReader ¶
func (*LdifReader) Paths ¶ added in v0.1.110
func (r *LdifReader) Paths() []string
Get the paths to the attributes/columns that will be read
func (*LdifReader) Read ¶
func (r *LdifReader) Read() (*Record, error)
type LdifWriter ¶
type LdifWriter struct {
// contains filtered or unexported fields
}
func NewLdifWriter ¶
func NewLdifWriter(writer io.Writer) (*LdifWriter, error)
func (*LdifWriter) Write ¶
func (w *LdifWriter) Write(record *Record) error
type Record ¶
type Record struct { // Request data that was sent to 443ID ID string `json:"id,omitempty"` Identifiers map[string]string `json:"identifiers,omitempty"` Parameters map[string]interface{} `json:"parameters,omitempty"` // Common response data that was returned from 443ID Version string `json:"version,omitempty"` RequestId string `json:"requestId,omitempty"` Error string `json:"error,omitempty"` // Risk score response data that was returned from 443ID Score float64 `json:"score,omitempty"` LevelTxt string `json:"levelTxt,omitempty"` LevelNum int `json:"levelNum,omitempty"` // Rules evaluation response data that was returned from 443ID Outcomes []string `json:"outcomes,omitempty"` Reasons []string `json:"reasons,omitempty"` // Event ingestion response data that was returned from 443ID PrintId string `json:"printId,omitempty"` }
Click to show internal directories.
Click to hide internal directories.