/// <summary>
 /// Adds dynamic scope support to the current stores.
 /// </summary>
 /// <param name="builder">The builder.</param>
 public static IIdentityServerBuilder AddDynamicScopes(this IIdentityServerBuilder builder)
 {
     return(builder.AddClientStoreWithDynamicScopes()
            .AddResourceStoreWithDynamicScopes()
            .AddIntrospectionResponseGeneratorWithDynamicScopes());
 }