All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.woorea.openstack.base.client.OpenStackSimpleTokenProvider Maven / Gradle / Ivy

There is a newer version: 3.3.30-oss
Show newest version
/*******************************************************************************
 * Copyright (C) 2016 AT&T Intellectual Property. All rights reserved. This code is licensed under the Apache License, Version 2.0
 *******************************************************************************/

package com.woorea.openstack.base.client;

/**
 * 
 *
 */
public class OpenStackSimpleTokenProvider implements OpenStackTokenProvider {

    private String token;

    /**
     * @param token
     */
	public OpenStackSimpleTokenProvider(String token) {
		this.token = token;
	}

    /**
     * @see com.woorea.openstack.base.client.OpenStackTokenProvider#getToken()
     */
	@Override
	public String getToken() {
		return this.token;
	}

    /**
     * @see com.woorea.openstack.base.client.OpenStackTokenProvider#expireToken()
     */
	@Override
	public void expireToken() {
        // nop
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy