webapi: github.com/gowebapi/webapi/crypto/authentication Index | Files

package authentication

import "github.com/gowebapi/webapi/crypto/authentication"

Package authentication enabling the creation and use of strong, attested, scoped, public key-based credentials by web applications, for the purpose of strongly authenticating users.

Index

Package Files

authentication.go doc.go

type AssertionResponse Uses

type AssertionResponse struct {
    Response
}

class: AuthenticatorAssertionResponse

func AssertionResponseFromJS Uses

func AssertionResponseFromJS(value js.Wrapper) *AssertionResponse

AssertionResponseFromJS is casting a js.Wrapper into AssertionResponse.

func (*AssertionResponse) AuthenticatorData Uses

func (_this *AssertionResponse) AuthenticatorData() *javascript.ArrayBuffer

AuthenticatorData returning attribute 'authenticatorData' with type javascript.ArrayBuffer (idl: ArrayBuffer).

func (*AssertionResponse) Signature Uses

func (_this *AssertionResponse) Signature() *javascript.ArrayBuffer

Signature returning attribute 'signature' with type javascript.ArrayBuffer (idl: ArrayBuffer).

func (*AssertionResponse) UserHandle Uses

func (_this *AssertionResponse) UserHandle() *javascript.ArrayBuffer

UserHandle returning attribute 'userHandle' with type javascript.ArrayBuffer (idl: ArrayBuffer).

type Attachment Uses

type Attachment int

enum: AuthenticatorAttachment

const (
    Platform Attachment = iota
    CrossPlatform
)

func AttachmentFromJS Uses

func AttachmentFromJS(value js.Value) Attachment

AttachmentFromJS is converting a javascript value into a Attachment enum value.

func (*Attachment) JSValue Uses

func (this *Attachment) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (Attachment) Value Uses

func (this Attachment) Value() string

Value is converting this into javascript defined string value

type AttestationConveyancePreference Uses

type AttestationConveyancePreference int

enum: AttestationConveyancePreference

const (
    None AttestationConveyancePreference = iota
    Indirect
    Direct
)

func AttestationConveyancePreferenceFromJS Uses

func AttestationConveyancePreferenceFromJS(value js.Value) AttestationConveyancePreference

AttestationConveyancePreferenceFromJS is converting a javascript value into a AttestationConveyancePreference enum value.

func (*AttestationConveyancePreference) JSValue Uses

func (this *AttestationConveyancePreference) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (AttestationConveyancePreference) Value Uses

func (this AttestationConveyancePreference) Value() string

Value is converting this into javascript defined string value

type AttestationResponse Uses

type AttestationResponse struct {
    Response
}

class: AuthenticatorAttestationResponse

func AttestationResponseFromJS Uses

func AttestationResponseFromJS(value js.Wrapper) *AttestationResponse

AttestationResponseFromJS is casting a js.Wrapper into AttestationResponse.

func (*AttestationResponse) AttestationObject Uses

func (_this *AttestationResponse) AttestationObject() *javascript.ArrayBuffer

AttestationObject returning attribute 'attestationObject' with type javascript.ArrayBuffer (idl: ArrayBuffer).

type AuthenticationExtensionsClientInputs Uses

type AuthenticationExtensionsClientInputs struct {
    Appid         string
    TxAuthSimple  string
    TxAuthGeneric *TxAuthGenericArg
    AuthnSel      []*Union
    Exts          bool
    Uvi           bool
    Loc           bool
    Uvm           bool
}

dictionary: AuthenticationExtensionsClientInputs

func AuthenticationExtensionsClientInputsFromJS Uses

func AuthenticationExtensionsClientInputsFromJS(value js.Wrapper) *AuthenticationExtensionsClientInputs

AuthenticationExtensionsClientInputsFromJS is allocating a new AuthenticationExtensionsClientInputs object and copy all values from input javascript object

func (*AuthenticationExtensionsClientInputs) JSValue Uses

func (_this *AuthenticationExtensionsClientInputs) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type AuthenticationExtensionsClientOutputs Uses

type AuthenticationExtensionsClientOutputs struct {
    Appid         bool
    TxAuthSimple  string
    TxAuthGeneric *javascript.ArrayBuffer
    AuthnSel      bool
    Exts          []string
    Uvi           *javascript.ArrayBuffer
    Loc           *sensor.Coordinates
    Uvm           [][]uint
}

dictionary: AuthenticationExtensionsClientOutputs

func AuthenticationExtensionsClientOutputsFromJS Uses

func AuthenticationExtensionsClientOutputsFromJS(value js.Wrapper) *AuthenticationExtensionsClientOutputs

AuthenticationExtensionsClientOutputsFromJS is allocating a new AuthenticationExtensionsClientOutputs object and copy all values from input javascript object

func (*AuthenticationExtensionsClientOutputs) JSValue Uses

func (_this *AuthenticationExtensionsClientOutputs) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type AuthenticatorBiometricPerfBounds Uses

type AuthenticatorBiometricPerfBounds struct {
    FAR float32
    FRR float32
}

dictionary: authenticatorBiometricPerfBounds

func AuthenticatorBiometricPerfBoundsFromJS Uses

func AuthenticatorBiometricPerfBoundsFromJS(value js.Wrapper) *AuthenticatorBiometricPerfBounds

AuthenticatorBiometricPerfBoundsFromJS is allocating a new AuthenticatorBiometricPerfBounds object and copy all values from input javascript object

func (*AuthenticatorBiometricPerfBounds) JSValue Uses

func (_this *AuthenticatorBiometricPerfBounds) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type CollectedClientData Uses

type CollectedClientData struct {
    Type         string
    Challenge    string
    Origin       string
    TokenBinding *TokenBinding
}

dictionary: CollectedClientData

func CollectedClientDataFromJS Uses

func CollectedClientDataFromJS(value js.Wrapper) *CollectedClientData

CollectedClientDataFromJS is allocating a new CollectedClientData object and copy all values from input javascript object

func (*CollectedClientData) JSValue Uses

func (_this *CollectedClientData) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Response Uses

type Response struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: AuthenticatorResponse

func ResponseFromJS Uses

func ResponseFromJS(value js.Wrapper) *Response

ResponseFromJS is casting a js.Wrapper into Response.

func (*Response) ClientDataJSON Uses

func (_this *Response) ClientDataJSON() *javascript.ArrayBuffer

ClientDataJSON returning attribute 'clientDataJSON' with type javascript.ArrayBuffer (idl: ArrayBuffer).

func (*Response) JSValue Uses

func (_this *Response) JSValue() js.Value

type SelectionCriteria Uses

type SelectionCriteria struct {
    AuthenticatorAttachment Attachment
    RequireResidentKey      bool
    UserVerification        UserVerificationRequirement
}

dictionary: AuthenticatorSelectionCriteria

func SelectionCriteriaFromJS Uses

func SelectionCriteriaFromJS(value js.Wrapper) *SelectionCriteria

SelectionCriteriaFromJS is allocating a new SelectionCriteria object and copy all values from input javascript object

func (*SelectionCriteria) JSValue Uses

func (_this *SelectionCriteria) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type TokenBinding Uses

type TokenBinding struct {
    Status TokenBindingStatus
    Id     string
}

dictionary: TokenBinding

func TokenBindingFromJS Uses

func TokenBindingFromJS(value js.Wrapper) *TokenBinding

TokenBindingFromJS is allocating a new TokenBinding object and copy all values from input javascript object

func (*TokenBinding) JSValue Uses

func (_this *TokenBinding) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type TokenBindingStatus Uses

type TokenBindingStatus int

enum: TokenBindingStatus

const (
    PresentTokenBindingStatus TokenBindingStatus = iota
    SupportedTokenBindingStatus
)

func TokenBindingStatusFromJS Uses

func TokenBindingStatusFromJS(value js.Value) TokenBindingStatus

TokenBindingStatusFromJS is converting a javascript value into a TokenBindingStatus enum value.

func (*TokenBindingStatus) JSValue Uses

func (this *TokenBindingStatus) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (TokenBindingStatus) Value Uses

func (this TokenBindingStatus) Value() string

Value is converting this into javascript defined string value

type Transport Uses

type Transport int

enum: AuthenticatorTransport

const (
    TransportUsb Transport = iota
    TransportNfc
    TransportBle
    TransportInternal
)

func TransportFromJS Uses

func TransportFromJS(value js.Value) Transport

TransportFromJS is converting a javascript value into a Transport enum value.

func (*Transport) JSValue Uses

func (this *Transport) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (Transport) Value Uses

func (this Transport) Value() string

Value is converting this into javascript defined string value

type TxAuthGenericArg Uses

type TxAuthGenericArg struct {
    ContentType string
    Content     *javascript.ArrayBuffer
}

dictionary: txAuthGenericArg

func TxAuthGenericArgFromJS Uses

func TxAuthGenericArgFromJS(value js.Wrapper) *TxAuthGenericArg

TxAuthGenericArgFromJS is allocating a new TxAuthGenericArg object and copy all values from input javascript object

func (*TxAuthGenericArg) JSValue Uses

func (_this *TxAuthGenericArg) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

type UserVerificationRequirement Uses

type UserVerificationRequirement int

enum: UserVerificationRequirement

const (
    Required UserVerificationRequirement = iota
    Preferred
    Discouraged
)

func UserVerificationRequirementFromJS Uses

func UserVerificationRequirementFromJS(value js.Value) UserVerificationRequirement

UserVerificationRequirementFromJS is converting a javascript value into a UserVerificationRequirement enum value.

func (*UserVerificationRequirement) JSValue Uses

func (this *UserVerificationRequirement) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (UserVerificationRequirement) Value Uses

func (this UserVerificationRequirement) Value() string

Value is converting this into javascript defined string value

Package authentication imports 3 packages (graph) and is imported by 1 packages. Updated 2019-10-16. Refresh now. Tools for package owners.