Class IServiceCollectionExtensions
Extensions for the IServiceCollection interface.
Inherited Members
Namespace: Microsoft.XboxStudios.SQTech.Authentication.FileCache
Assembly: Microsoft.XboxStudios.SQTech.Authentication.FileCache.dll
Syntax
public static class IServiceCollectionExtensions
Methods
View SourceAddFileTokenCache(IServiceCollection, Action<CacheSettings>?)
Adds a file auth token cache.
Declaration
public static IServiceCollection AddFileTokenCache(this IServiceCollection services, Action<CacheSettings>? settings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | The services to add the file token cache to. |
| Action<CacheSettings> | settings | The settings to use. |
Returns
| Type | Description |
|---|---|
| IServiceCollection | The configured IServiceCollection. |