Class List Method List File List

# Class: Com::Vmware::Vapi::Std::AuthenticationScheme

Inherits:
  VAPI::Bindings::VapiStruct
  - Object
  - VAPI::Bindings::VapiStruct
  - Com::Vmware::Vapi::Std::AuthenticationScheme
  show all
Defined in:
  /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std.rb

## Overview

The :class:`Com::Vmware::Vapi::Std::AuthenticationScheme` class defines constants for authentication scheme identifiers for authentication mechanisms present in the vAPI infrastructure shipped by VMware.

     A third party extension can define and implements it's own authentication mechanism and define a constant in a different IDL file.

## Constant Summary

NO_AUTHENTICATION =

      'com.vmware.vapi.std.security.no_authentication'

SAML_BEARER_TOKEN =

      'com.vmware.vapi.std.security.saml_bearer_token'

SAML_HOK_TOKEN =

      'com.vmware.vapi.std.security.saml_hok_token'

SESSION_ID =

      'com.vmware.vapi.std.security.session_id'

USER_PASSWORD =

      'com.vmware.vapi.std.security.user_pass'

OAUTH_ACCESS_TOKEN =

      'com.vmware.vapi.std.security.oauth'

## Class Method Summary (collapse)

- + (VAPI::Bindings::StructType) binding_type

  Holds (gets or creates) the binding type metadata for this structure type.

## Instance Method Summary (collapse)

- - (AuthenticationScheme) initialize(ruby_values = nil, struct_value = nil) constructor

  Constructs a new instance.

## Constructor Details

### - (`AuthenticationScheme`) initialize(ruby_values = nil, struct_value = nil)

Constructs a new instance.

Parameters:

- ruby_values (`Hash`) (defaults to: `nil`) —

  a map of initial property values (optional)

- struct_value (`VAPI::Data::StructValue`) (defaults to: `nil`) —

  a raw StructValue from the wire (optional)

    52
    53
    54
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std.rb', line 52

    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end

## Class Method Details

### + (`VAPI::Bindings::StructType`) binding_type

Holds (gets or creates) the binding type metadata for this structure type.

Returns:

- (`VAPI::Bindings::StructType`) —

  the binding type

    31
    32
    33
    34
    35
    36
    37
    38
    39
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std.rb', line 31

    def binding_type
        @binding_type ||= VAPI::Bindings::StructType.new(
            'com.vmware.vapi.std.authentication_scheme',
            {
            },
            AuthenticationScheme,
            false,
            nil)
    end