101 lines
4.1 KiB
C#

//----------------------------------------------------------------------------
//
// Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved.
//
// File: CIM_AuthenticationService.cs
//
// Contents: CIM_AuthenticationService verifies users' identities through some means. These services are decomposed into a subclass that provides credentials to users and a subclass that provides for the verification of the validity of a credential and, perhaps, the appropriateness of its use for access to target resources. The persistent state information used from one such verification to another is maintained in an instance of Identity class.
// This file was automatically generated from CIM_AuthenticationService.mof
//
//----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Globalization;
using System.Xml.Serialization;
using System.IO;
using Intel.Manageability.WSManagement;
using Intel.Manageability.Cim.Untyped;
namespace Intel.Manageability.Cim.Typed
{
/// <summary>
///CIM_AuthenticationService verifies users' identities through some means. These services are decomposed into a subclass that provides credentials to users and a subclass that provides for the verification of the validity of a credential and, perhaps, the appropriateness of its use for access to target resources. The persistent state information used from one such verification to another is maintained in an instance of Identity class.
/// </summary>
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_AuthenticationService")]
[System.Xml.Serialization.XmlRootAttribute("CIM_AuthenticationService", Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_AuthenticationService", IsNullable=false)]
public class CIM_AuthenticationService : CIM_SecurityService
{
/// <summary>
/// Default constructor.
/// </summary>
public CIM_AuthenticationService() :base()
{
}
/// <summary>
/// Constructor that recieves an xml string for deserialization.
/// </summary>
/// <param name="xml">xml string to deserialize</param>
public CIM_AuthenticationService(string xml): base((IWSManClient)null)
{
this.Deserialize(xml);
}
/// <summary>
/// Constructor which recieves a Ws-Management client object.
/// </summary>
/// <param name="client">Ws-Management client</param>
public CIM_AuthenticationService(IWSManClient client): base(client)
{
}
/// <summary>
/// Enumerate instances of CIM_AuthenticationService class at an endpoint.
/// </summary>
/// <param name="client">WS-Management client</param>
/// <param name="cimKeys">Keys for selecting the instances</param>
/// <returns>Collection of CIM_AuthenticationService objects</returns>
public static new Collection<CIM_AuthenticationService> Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
{
List<CIM_AuthenticationService> ret = CimBase.Enumerate<CIM_AuthenticationService>(client, cimKeys);
return new Collection<CIM_AuthenticationService>(ret);
}
/// <summary>
/// Enumerate instances of CIM_AuthenticationService class at an endpoint.
/// </summary>
/// <param name="client">WS-Management client</param>
/// <returns>Collection of CIM_AuthenticationService objects</returns>
public static new Collection<CIM_AuthenticationService> Enumerate(IWSManClient client)
{
List<CIM_AuthenticationService> ret = CimBase.Enumerate<CIM_AuthenticationService>(client);
return new Collection<CIM_AuthenticationService>(ret);
}
/// <summary>
/// Delete the instance of CIM_AuthenticationService if it is singular.
/// Note: This method will succeed only if a single instance of the class exists.
/// </summary>
/// <param name="client">WS-Management client</param>
public static new void Delete(IWSManClient client)
{
CimBase.Delete<CIM_AuthenticationService>(client);
}
/// <summary>
/// Represents the keys of the CIM_AuthenticationService class.
/// </summary>
public new class CimKeys : CIM_SecurityService.CimKeys
{
}
}
}