
com.databricks.sdk.service.settings.TokenManagementService Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.settings;
import com.databricks.sdk.support.Generated;
/**
* Enables administrators to get all tokens and delete tokens for other users. Admins can either get
* every token, get a specific token by ID, or get all tokens for a particular user.
*
* This is the high-level interface, that contains generated methods.
*
*
Evolving: this interface is under development. Method signatures may change.
*/
@Generated
public interface TokenManagementService {
/**
* Create on-behalf token.
*
*
Creates a token on behalf of a service principal.
*/
CreateOboTokenResponse createOboToken(CreateOboTokenRequest createOboTokenRequest);
/**
* Delete a token.
*
*
Deletes a token, specified by its ID.
*/
void delete(DeleteTokenManagementRequest deleteTokenManagementRequest);
/**
* Get token info.
*
*
Gets information about a token, specified by its ID.
*/
TokenInfo get(GetTokenManagementRequest getTokenManagementRequest);
/**
* List all tokens.
*
*
Lists all tokens associated with the specified workspace or user.
*/
ListTokensResponse list(ListTokenManagementRequest listTokenManagementRequest);
}