org.javaswift.joss.model
Interface Client<A extends Account>

All Known Implementing Classes:
AbstractClient, ClientImpl, ClientMock

public interface Client<A extends Account>

The authenticate call creates a new Account object, which allows you to interact with the Object Store. Note that security tokens last for a maximum of 24 hours, after which a new one must be fetched.

Call authenticate to get an Account which allows you to start operating on the Object Store.

Author:
Robert Bor

Method Summary
 A authenticate()
          Calls the identity module of the OpenStack implementation to authenticate itself against.
 

Method Detail

authenticate

A authenticate()
Calls the identity module of the OpenStack implementation to authenticate itself against. If successful, it returns the internal URL to work with and the authentication token, which will automatically be added to all calls made by the client henceforth.



Copyright © 2012-2014 42 BV. All Rights Reserved.