public static interface ClientSecretGrantTypeSDK.ClientSecretGrantTypeClient
ClientSecretGrantType resource APIs.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<ClientSecretGrantType,com.covisint.core.http.service.core.ServiceException> |
add(String subjectId,
ClientSecretGrantType grant)
Add a client secret grant for a subject.
|
com.google.common.util.concurrent.CheckedFuture<ClientSecretGrantType,com.covisint.core.http.service.core.ServiceException> |
delete(String subjectId,
String grantId)
Delete the client secret grant for a subject.
|
com.google.common.util.concurrent.CheckedFuture<ClientSecretGrantType,com.covisint.core.http.service.core.ServiceException> |
get(String subjectId,
String grantId)
Retrieves the client secret grant for a subject.
|
com.google.common.util.concurrent.CheckedFuture<List<ClientSecretGrantType>,com.covisint.core.http.service.core.ServiceException> |
listClientSecretGrants(String subjectId,
com.covisint.core.http.service.core.Page page)
List all client secret grants issued to a subject.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<ClientSecretGrantType,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String subjectId, @Nonnull@NotEmpty String grantId)
subjectId - The subject id.grantId - The grant id.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<ClientSecretGrantType>,com.covisint.core.http.service.core.ServiceException> listClientSecretGrants(@Nonnull@NotEmpty String subjectId, @Nonnull com.covisint.core.http.service.core.Page page)
subjectId - The subject id.page - the page of data to retrieve@Nonnull com.google.common.util.concurrent.CheckedFuture<ClientSecretGrantType,com.covisint.core.http.service.core.ServiceException> add(@Nonnull@NotEmpty String subjectId, @Nonnull ClientSecretGrantType grant)
subjectId - The subject id for which the grant is being issued.grant - The client secret grant to add.@Nonnull com.google.common.util.concurrent.CheckedFuture<ClientSecretGrantType,com.covisint.core.http.service.core.ServiceException> delete(@Nonnull@NotEmpty String subjectId, @Nonnull@NotEmpty String grantId)
subjectId - The subject id.grantId - The id of the grant being deleted.Copyright © 2015 Covisint. All rights reserved.