Uses of Interface
com.microsoft.store.partnercenter.requestcontext.IRequestContext
-
Uses of IRequestContext in com.microsoft.store.partnercenter
Methods in com.microsoft.store.partnercenter that return IRequestContext Modifier and Type Method Description IRequestContextIPartner. getRequestContext()Gets the request context.IRequestContextPartnerOperations. getRequestContext()Methods in com.microsoft.store.partnercenter with parameters of type IRequestContext Modifier and Type Method Description voidIPartnerCredentials. onCredentialsRefreshNeeded(IPartnerCredentials credentials, IRequestContext context)Called when a partner credentials needs to be refreshed.IPartnerAggregatePartnerOperations. with(IRequestContext context)Returns a partner operations object which uses the provided context when executing operations.IPartnerIAggregatePartner. with(IRequestContext context)Returns a partner operations object which uses the provided context when executing operations.Constructors in com.microsoft.store.partnercenter with parameters of type IRequestContext Constructor Description PartnerOperations(IPartnerCredentials credentials, IRequestContext context)Initializes a new instance of the PartnerOperations class. -
Uses of IRequestContext in com.microsoft.store.partnercenter.enumerators
Methods in com.microsoft.store.partnercenter.enumerators with parameters of type IRequestContext Modifier and Type Method Description voidBaseResourceCollectionEnumerator. next(IRequestContext context)Retrieves the next result set.voidIResourceCollectionEnumerator. next(IRequestContext context)Retrieves the next result set.voidBaseResourceCollectionEnumerator. previous(IRequestContext context)Retrieves the previous result set.voidIResourceCollectionEnumerator. previous(IRequestContext context)Retrieves the previous result set. -
Uses of IRequestContext in com.microsoft.store.partnercenter.errorhandling
Methods in com.microsoft.store.partnercenter.errorhandling with parameters of type IRequestContext Modifier and Type Method Description PartnerExceptionDefaultPartnerServiceErrorHandler. handleFailedResponse(okhttp3.Response response, IRequestContext context)Handles failed partner service responses.PartnerExceptionIFailedPartnerServiceResponseHandler. handleFailedResponse(okhttp3.Response response, IRequestContext context)Handles failed partner service responses. -
Uses of IRequestContext in com.microsoft.store.partnercenter.exception
Methods in com.microsoft.store.partnercenter.exception that return IRequestContext Modifier and Type Method Description IRequestContextPartnerException. getContext()Methods in com.microsoft.store.partnercenter.exception with parameters of type IRequestContext Modifier and Type Method Description voidPartnerException. setContext(IRequestContext value)Constructors in com.microsoft.store.partnercenter.exception with parameters of type IRequestContext Constructor Description PartnerException(ApiFault apiFault, IRequestContext context)Initializes a new instance of the PartnerException class.PartnerException(ApiFault apiFault, IRequestContext context, PartnerErrorCategory errorCategory)PartnerException(ApiFault apiFault, IRequestContext context, PartnerErrorCategory errorCategory, Exception innerException)PartnerException(String message, IRequestContext context, PartnerErrorCategory errorCategory)Initializes a new instance of the PartnerException class.PartnerException(String message, IRequestContext context, PartnerErrorCategory errorCategory, Exception innerException)Initializes a new instance of the PartnerException class.PartnerResponseParseException(String response, IRequestContext context, String message, Exception innerException)Initializes a new instance of the PartnerResponseParseException class. -
Uses of IRequestContext in com.microsoft.store.partnercenter.extensions
Methods in com.microsoft.store.partnercenter.extensions with parameters of type IRequestContext Modifier and Type Method Description voidApplicationPartnerCredentials. authenticate(IRequestContext requestContext)Authenticates with the partner service.voidBasePartnerCredentials. authenticate(IRequestContext requestContext)Authenticates with the partner service.IPartnerCredentialsPartnerCredentials. generateByApplicationCredentials(String clientId, String applicationSecret, String aadApplicationDomain, IRequestContext requestContext)Generates partner credentials for third party applications using application credentials.IPartnerCredentialsPartnerCredentials. generateByApplicationCredentials(String clientId, String applicationSecret, String aadApplicationDomain, String aadAuthorityEndpoint, String graphEndpoint, IRequestContext requestContext)voidApplicationPartnerCredentials. onCredentialsRefreshNeeded(IPartnerCredentials credentials, IRequestContext context)Called when a partner credentials instance needs to be refreshed.voidUserPartnerCredentials. onCredentialsRefreshNeeded(IPartnerCredentials credentials, IRequestContext context)Called when a partner credentials instance needs to be refreshed. -
Uses of IRequestContext in com.microsoft.store.partnercenter.requestcontext
Classes in com.microsoft.store.partnercenter.requestcontext that implement IRequestContext Modifier and Type Class Description classRequestContextRequest context implementation.Methods in com.microsoft.store.partnercenter.requestcontext that return IRequestContext Modifier and Type Method Description IRequestContextRequestContextFactory. create()Creates a request context object which will use a randomly generated correlation Id and a unique request Id for each partner API call.IRequestContextRequestContextFactory. create(String locale)Creates a request context object which will use a randomly generated correlation Id, a unique request Id and provided locale for each partner API call.IRequestContextRequestContextFactory. create(UUID correlationId)Creates a request context object with the provided correlation Id and a unique request Id for each partner API call.IRequestContextRequestContextFactory. create(UUID correlationId, String locale)Creates a request context object with the provided correlation Id, a unique request Id and provided locale for each partner API call.IRequestContextRequestContextFactory. create(UUID correlationId, UUID requestId)Creates a request context object with the provided correlation and request Ids.IRequestContextRequestContextFactory. create(UUID correlationId, UUID requestId, String locale)Creates a request context object with the provided correlation, request Ids and locale.