NAME

BuildForge::API::Auth


SYNOPSIS

        my $Auth = new BuildForge::API::Auth();
        $Auth->{'authid'} = "My Auth Block";
        $Auth->{'username'} = "myuser";
        $Auth->{'password'} = "myuserspass";
        $Auth->Create();


DESCRIPTION

    This is available to use after a BuildForge::API object has been
instantiated. It is used to create new authentication blobs for use with
BuildForge servers.


METHODS

new({AuthParamsHashRef})

Create an object to access existing auth information or to add a new server authetication blob to the BuildForge console.

authid
The name for the server authentication

username
ID of the user to use with this authentication

password
The corresponding password to use with this authentication

Create()

Create a new server authentication blob. Requires 'authid' to be set.

Update()

Updates a server authentication blob. Requires 'authid' to be set.

Delete()

Deletes the server authentication blob. Requires the 'authid' to be set.

Sync()

Syncs the server authentication object with information from the console database. Requires the 'authid' to be set.


AUTHOR

BuildForge, Inc.